Web programming recently (4 months) and went straight to JSF , that is, I did not study anything about JSP . I started to take a course and my teacher kind of belittles JSF saying that he has many limitations, that JSP...
I'm using Eclipse Mars.1 for Web development, I got this error by including a file JSP , The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path .
I also have Tomcat 8 running on the PC.
No PHP I have seen uses of htmlspecialchars and mysqli . But in Java is there any way to avoid XSS and HTML injection?
I'd also like to know what would be the best (safest) way: Escaping the elements ( HTML , Java...
I have the following situation:
Servlet instantiated at root
/ MinhaServlet
Jsp instantiated in a folder inside the root:
/folder/file.jsp
Within this file I have the following
<img src="_img/editar.png">
<a href="_...
What is the behavior of security-role of web.xml when user is not allowed access to project resources?
Is the weblogic default to return a 404?
Is this status configurable?
Is there a possibility that when security identif...
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...
Context
I'm trying to persist in the database of a purchase, as well as all of its items. For this I am using a .jsp file. But I need to send the web page data. Purchasing data is easy. The problem is in the items of the same, I wanted...
Taking Maven as an example, when started a new web project, the structure is the same / similar to this:
Meu Projeto
|- src
|- main
|- java
|- resources
|- webapp
|- WEB-INF
W...
Hello, I have a question with Servlet's.
Imagine the picture:
raiz /
/ formulario.jsp
/ Servlet
/ retornos / retorno.jsp
The form sends the data to the Servlet by post or get!
After this submission, using RequestDispatc...
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...