Hi everyone,
I've a register.jsp form, when an user submits this form, the request goes to a
Servlet which controls if all fields are correctelly filled. if not, the Servlet sends the user to the register.jsp again to fill the form again.
The problem is when the Serlvlet makes a RequestDispatcher, all the images, css, en links goes away.
The 2nd problem is if I want to submit that form again, the server says that the Servlet does not exists.
URL of the register form:
http://localhost:8080/website/registreren.jsp URL when the form is submitted:
http://localhost:8080/website/servlet/Register URL when I try to submit the form again:
http://localhost:8080/website/servlet/servlet/Register The error that I get:
javax.servlet.ServletException: Class `servlet' was not found in classpath.
register.jsp
Register.java
Could someone please help me to fix this problem?
Abu Romaysa