Posts by Gabriel Polo • 243 points
12 posts
-
0
votes1
answer55
viewsQ: Failure to build Spring MVC application when configuring AOP bean
I’m trying to configure AOP in the spring.xml of my Spring MVC application, but I can’t build. I consulted the documentation, but following it did not succeed. The code is as follows:: <beans…
-
3
votes1
answer171
viewsQ: Is it possible to send all Java Exceptions by email?
I have a Java Web application, using Spring MVC, and would like to email all Exceptions released on the system. Is it possible to do that? Set up a default email to receive all Exceptions and…
-
0
votes2
answers810
viewsA: How to display attributes of an object passed in a list in a JSP page
The problem has been fixed by changing the Hibernate configuration file (Hibernate.cfg.xml). I had to add the following line: <property name="enable_lazy_load_no_trans">true</property>…
-
0
votes2
answers1023
viewsA: How to hide text that appears after my domain in a URL?
I solved the problem by changing all html Forms to POST, then setting in the Controller what appears in the URL.
-
1
votes2
answers1023
viewsQ: How to hide text that appears after my domain in a URL?
I have a Java application using Spring MVC. Suppose my application has the domain www.meusistema.com.br As the user navigates, other urls are generated, example: www.meusistema.com.br/acessarConta…
-
1
votes1
answer2866
viewsQ: How to prevent the user from closing a page without submitting the form, but without using a dialog?
I have an HTML page that has a form. I need to prevent that, after the user fills this form, they click any other button on the page other than "Save". I found a script that solved this, but it can…
-
0
votes2
answers345
viewsQ: How to translate the Mysql query that has a sum to Hibernate?
I need to translate the following query from Mysql to Hibernate: select sum(TOTAL_MERCADORIA_BRL) from PROCESSO group by PERIODO like 'DEZ-15'; What would be the best way to do this query, but using…
-
7
votes2
answers1757
viewsQ: How to receive a List (Java) in Javascript, using Spring MVC?
I have a web application using the Spring MVC framework. I need to receive a List in a Javascript function, but I don’t know the best way to do this, without getting the code confused. The Processes…
-
5
votes1
answer612
viewsQ: In Spring MVC, how to send information to the view (.jsp) without using Modelandview?
I am developing a web application in Spring MVC. I have a method that returns a list (java.util.List) and I need to pass it to the view (.jsp), but without updating the page. I would like to know…
-
2
votes2
answers810
viewsQ: How to display attributes of an object passed in a list in a JSP page
I am working on a Java Web project, using the Spring MVC framework. I’m having difficulty displaying information that comes from a list where analysts are registered. The name of the analyst is…
-
1
votes1
answer2956
viewsQ: Manipulate list and add list items in Prolog
I’m a beginner in Prolog and I have doubts about the list manipulation and the sum of its items. I have a predicate historico(RA,[i1,i2,i3,...,in]) where ra is the Academic Record of a student and…
-
2
votes1
answer2242
viewsQ: How to scroll through a list in Prolog to find a specific item
I am a beginner in Prolog and I have doubts about how to go through a list. I have a predicate historico(ra,[i1,i2,i3,...,in]) where ra is the Academic Record of a student and each i is an item,…