Rajiv Chelsea wrote:How can i prevent the users from directly going to the success page by typing the url to success page.
What web server are you using with Eclipse?
Tomcat?
1. You
could move your
jsp files to a directory located in the WEB-INF directory of your webapp. Such as:
2. You
could use a security-constraint in your web.xml and restrict access to the success.jsp using a url-pattern.
This is how Tomcat *secures* access to the Tomcat manager webapp,
http://localhost:8080/manager/html