Thursday, December 15, 2005

Can we place a JSP file inside WEB-INF

It is perfectly valid to put a JSP file inside the WEB-INF to prevent direct access to clients, in that case, it is only accessible via forwards/includes.

The problem is that the jsp inside WEB-INF folder cannot access resources like images,scripts etc.The specification doesn't suggest anything in this regard, it is upto the web-server whether to consider the jsp or not.

How to access such a resource
Find about it Here

0 Comments:

Post a Comment

<< Home