Tomcat5 common directory distribution and representative meaning

xiaoxiao2021-03-06  44

Tomcat download address: http://apache.freeelamp.com/jakarta/tomcat-5//bin: Start the script file that starts and close Tomcat; / conf: Store Tomcat's various profiles, such as Server.xml / Server / lib: The various JAR files required to store the Tomcat server (JAR file can only be accessed by Tomcat server) / server / webapps: 2 Web applications that store Tomcat comes with: Admin Apps and Manager Applications. / Common / lib: The JAR folder where the Tomcat server and all web applications (Web and Tomcat servers can access this JAR) / share / lib: The JAR files that are accessible to the Web are available. (You can be accessed by Tomcat) / logs: Store Tomcat log file / WebApps: When publishing a web app, put the web application file in this directory / Work: tomcat Put by JSP The generated servlet is placed in this directory: In the web application, in the web-infroductory, you can also establish a lib sub-directory, and various JAR files can be stored in this subdirectory, which can only be accessed by the current web application. Among them, in the WEB-INF directory, the Tomcat class loader is loaded in the class of the class directory, then load the class in the lib directory. Classes is preferred because the class is the same name. Where JSP is running, find the order of the Class is: project folder (web-inf / lib) === "container folder (Tomcat / Common / lib) ==" JDK folder (JDK / JRE / LIB / EXT)

转载请注明原文地址:https://www.9cbs.com/read-63520.html

New Post(0)