- If you put your JSPs within WEB-INF, then it won't be accessed directly by entering the url in the browser.
- By putting your JSP in WEB-INF, you can access that JSP only from other servlet of JSP by request dispatching or forwarding.
You cannot do
www.someSite.com/WEB-INF/somePage.jsp
but if you put your somePage.jsp in root folder, then you can access by
www.someSite.com/somePage.jsp
For separation of concerns, You can separate according to modules and the type also.
- If some of your pages are just headers and footers, then put them in folders called header and footer
- If some of your pages are related to one Shopping module, then put in shopping module and likewise for other modules.