Wednesday, January 4, 2012

JSP URL Mapping

11:27 PM
JSP URL Mapping
Given in the figure below JSP resources reside under subdirectories or directly there in the document root that are accessible directly to users via URL. In order to protect the web resources, behind WEB-INF directory hide the JSP files that provide protection to JSP files, Java Script files, image files, css files (cascading style sheets), pdf files, html files etc, from the direct access. To servlet, a request shall be made as it is responsible for the authorization as well as authentication of use before JSP pages/resources are returned.