hi,
in my app-web I made two
servlets. and two files
jsp.
the first file jsp (CREATE.JSP) has a form, and send the data to the first servlet (SAVESERVLET), and it conects to the postgresql. all it's ok, all is working perfectly.
the second file jsp (DELETE.JSP) also has a form, and send the data (indeed, a int-id) to the second servlet (DELETESERVLET) and it should connects to the postgresql.
the problem is: I get a error 404 when I try send the data using second file jsp to the second servlet.
I have looked at the files jsp, the servlets, and the web.xml.
I am stucked at this point several days.
in the folder of context (myapp) I have the two files jsp (CREATE.JSP) and (DELETE.JSP)
in the folder myapp/WEB-INF/classes I have the two servlets (SAVESERVLET.CLASS) and (DELETESERVLET.CLASS). and the others classes (DAO, CONTACT).
in the folder myapp/WEB-INF/ I have the web.xml
code of web.xml:
in the CREATE.JSP, the code:
in the DELETE.JSP, the code:
why I get the error 404 in the second servlet?