Its my first day to enter into the Java EE world. I was trying one example as folllows
1. I created loginPage.jsp file and mapped it into the web.xml to /login , so i was able to run it successfully
Query : I am able to run the above by 2 means
1. localhost:8080/<Context_Root>/login // This is fine
2. localhost:8080/<Context_Root>/loginPage.jsp // This is weird, i want the user not to pen like this even if she guessed the jsp file correctly any how.
Is there any way to avoid the 2 ?
Thanks and Warm Regards
Bear Bibeault wrote:No JSP should be able to be directly accessed except by going through a page controller servlet. As Ulf pointed out, one common way to do that is to put the JSP views in a folder under WEB=INF where they are hidden from direct view.
I am not sure what does that mean, probably need to learn more things. :-))
Nevertheless, thanks for the replies.