Originally posted by Sameer Thapliyal:
I want to access jsp page through URL, which is under WEB-INF folder.According to my projects requirement all JSP are under WEB-INF folder like-web/WEB-INF/JSP/login.jsp.I have tried <jsp-file> tag in .xml but its not working.Please provide me some solution.
"It's not working" doesn't give us much in the way of information.
Are you saying you created a
servlet entry with with a jsp-file attribute?
If so, did you also create a mapping for that JSP?
Typically, when the requirements specify that all JSPs are to go under WEB-INF it's because the project is using an MVC architecture. In this case, the JSPs shouldn't be accessed directly at all.
If you give us some more information about what you're trying to to we might be able to give you some more useful information.