Posts by José Junior • 1 point
5 posts
-
0
votes3
answers15702
viewsA: Difference between private final and private final Static for the use of immutability
The difference between Static and final is as follows: private example Static final int A = 10; private Static int B = 15; Suponha que a classe que você declarou essas variáveis chama-se (Test) ao…
javaanswered José Junior 1 -
0
votes1
answer32
viewsA: Error calling save method using JSF Hibernate JPA An established connection has been overridden by the software on the host computer
I was able to resolve, I was using Sessionfactory for the database connection and using Entimanager commands, so I created my connection to the database using persistence.xml and used the…
-
-1
votes1
answer32
viewsQ: Error calling save method using JSF Hibernate JPA An established connection has been overridden by the software on the host computer
I am trying to save the data from my form but when I click save of error saying that "An established connection was annulled by the software on the computer". But when I test the save method using…
-
0
votes1
answer63
viewsA: Status error 404 (Servlet)
From what I am seeing he is not finding the page you are requesting try to map this to your Servlet address, for example @WebServlet("/teste/NovaEmpresa") public class NovaEmpresa extends…
-
0
votes1
answer64
viewsA: Image for Base64
I managed to load the image in Base64 format using jquery with ajax, follow the code below <script type="text/javascript"> function uploadFile() { var target = document.querySelector("img");…