HTML details the Tomcat directory structure in Tomcat

table of Contents

Tomcat concept

download link

Software directory structure


Tomcat concept

Tomcat is a core project in the Jakarta project of the Apache Software Foundation; it is a free and open-source lightweight web application server; it occupies a small amount of resources at runtime, and supports common functions of development application systems such as load balancing and mail services.

download link

https://tomcat.apache.org/

Software directory structure

1. bin: Stores the commands for starting Tomcat software . These commands can be run on Windows and Linuxf operating systems.

2. conf: Save the configuration file for configuring Tomcat . server.xml: 

     a. The default port number of the http protocol is 80. The default port number of tomcat is 8080. Modify it in the server.xml file;

     b. Make Tomcat support https; c. Make Tomcat support cluster

3. Lib: used to save the jar package for running Tomcat

4. Logs : save the log information generated during Tomcat operation , as shown in the figure below:

Description:

i, catalina.date.log file is used to record some information of the console and server error information when tomcat starts

ii. The localhost.date.log file is used to record site access information. The abnormal log information of the internal outbreak of the jsp page is in this file

iii. The localhost_access_log.date.txt file is used to record the request received by tomcat and the status of the response, etc.

5. temp: saves the temporary data generated during Tomcat operation

6. webapps: saved published web projects

7. Work: After the jsp file is released, it becomes the corresponding java file and class file

 

 

Guess you like

Origin blog.csdn.net/m0_46383618/article/details/107526703