Web-inf Introduction
The Web-inf folder under the TomCat server is a very secure file that cannot be accessed directly from the page, and must be mapped to the files to be accessed through the Web. xml file.
Web-inf folder in addition to Web. XML, there is a classes folder, to place *.class files, these *.class files are written by the Site designer class library, to achieve the JSP page foreground art and background service separation, making the site maintenance is very convenient. The Web. xml file is a description of the site deployment and is important for the deployment of the Web site.
Web-inf is used to store server-side profile information and class files that run on the server, and things underneath it do not allow direct client access.
The existence of Web-inf and its role in the Lib and classes directories are defined by the master gate.
Web-inf does not allow client access to be used to place the configuration file: The class file is placed under the Lib or Classes folder under Web-inf ... Web-inf is a site configuration file directory ... The logo of a Web application is to have this directory ...
In general, if you want to provide features such as template download, put your template under Web-inf, so as to prevent direct access to the template
The location and role of the Web-inf folder