Detailed explanation of Tomcat's WEB-INF directory

A WEB-INF is the security directory of Java WEB applications. The so-called security is a directory that the client cannot access, but only the server can access.


 
 
The second web.xml is the project deployment file.
How to set welcome page
    <welcome-file-list>
        <welcome>/haha.jsp</welcome>
    </welcome-file-list>
 
Three classes folder, used to place *.class files.
 

 

Four lib folders are used to store the required jar packages.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326843112&siteId=291194637