Posts by Henrique Malveira • 56 points
4 posts
-
1
votes1
answer181
viewsA: How do I popular an arraylist<Type> with a result brought from the mysql database, using Hibernate?
In this case, Voce already needs to have its project configured with the packages from Hibernate. From there you can follow this small example: Create a utility class: import…
-
1
votes3
answers77
viewsA: Class instantiation
Actually your code will not be compiled by some errors in programming. I don’t quite understand your purpose, but I hope this code will help you: public static void main(String[] args) { Vetor…
javaanswered Henrique Malveira 56 -
2
votes1
answer169
viewsA: Httpsession java
Try using: HttpServletRequest req = (HttpServletRequest)FacesContext.getCurrentInstance() .getExternalContext() .getRequest(); HttpServletResponse res =…
-
0
votes0
answers720
viewsQ: Get status code of current request
I have a request made by Jqueryfiledownload that when error occurs the server returns different types of status. I need to act on the client according to these errors. Other than jquery ajax I can’t…