I am trying to learn struts 2 and i tried the following. there is a user registration page in which user enters all the result.
After that user clicks register button, user will be shown register_success.jsp if the registration succeeds otherwise register_failure.jsp if some prblem with registration..
But the problem is user can give the url like http://localhost:8080/testapp/register_success.jsp or register_failure.jsp and directly try to see the results page withtout registration page. i don't want this to happen..
Without struts i would have placed this under WEB-INF folder and use request dispatcher to redirect the request to the required page, but with struts 2 i couldn't do it..