I would like to know if there are libraries or solutions to handle requests containing headers such as Last-Modified , If-Modified-Since , If-Range If-None-Match , etc. and produce replies with Cache-Control ,...
What is the fundamental difference between using methods
response.sendRedirect("Alguma pagina");
and
RequestDispatcher despachar = request.getRequestDispatcher("/Alguma pagina");
despachar.forward(request, response);
Since "they do p...
I've heard a lot about the term servlet , but I still can not understand it. What really is servlet ? What is it for? What is its applicability in practice?
I have a .jsp page where I have an input file. I need to open this file to use the information in it.
Suppose it's a pdf. I get this pdf, sending it to the servlet for the purpose of using it in my JAVA application.
The easiest way would be to t...
Hello.
I want to develop a Login system similar to what government portals use (E-CAC, NFE and similar), where the E-CNPJ is used to login.
I've done the following:
1) I created and signed an RSA private key for the server:
keytool...
I'm using JDBC and taking an image to save to the database. But I want to save the image to HD and save it to the bank only the path ( path ) of it.
I wanted to know what is the best type I use to manipulate and save the image ( Imag...
I would like to create a button that causes a input to appear for sending images.
This button can be used multiple times. When the user clicks the submit button, those images must be sent to the server without reloading the page....
I try two applications made in Java using Tomcat 6 and are in different contexts strong> but one interacts with the other
because they are integrated, I need one to pass their session to the other context,
or that contextA can set valu...
I placed in my index page where I have three links one with the name of T-shirts, Bermudas and Pants in which% I put% so that when I clicked the link it was redirected to the servlet and sent the parameters according to the link, but that does n...
Hello, I have a server_server.jsp page with a form that when submitted goes to ServletInsertOrderService that inserts the form data into the database.
I am trying to cause that when the data is entered, the browser returns to the server_ser...