Confusion Regarding where to put jsp in Web-application.
Siddharth Bhargava
Ranch Hand
Joined: Feb 23, 2007
Posts: 226
posted
0
I want to put all my *.jsp files in a folder called jsp under my Web Application. Where should this folder be put in the directory structure 1) under WEB-INF OR 2) Directly under my Web-Application
Where is the standard place where we put this(jsp) folder ... Please do clear my concepts...
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
If you put it underneath WEB-INF then the pages will not be directly accessible. That may or may not be what you intend to do; just something to keep in mind.
You can put your JSP files directly under your web-application directory. Its better to keep the files in different folders module wise(like common, profile...). If you put your jsps under WEB-INF you may face some problems to access the pages as the resources under WEB_INF is not accessible to outside.
"Anoop S", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.
Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Be aware that accounts with invalid display names are disabled.