I am currently new to JSP and servlet. Today I am making a simple form validator program that will get the form data form registration.jsp validates in validator.java(servlets) and if there is any error it displays the error in registration.jsp finally when all the validation are done.(for now validation is only checking if it is not blank) it navigates to confirm.jsp where all value are displayed.
I don't know if I setup my Apache server wrong or something else i am unable to get webapps using localhost:8080/appname.
So I am using eclipse. The problem is I don't know where to put those files in which folder ?
and is there anything needs to be written in web.xml ?
I would really appreciate if someone could provide me with the files(just with hierarchy and blank file) so I could build using that.
Edit: and furthermore how do I reference in the form action ?