tomcat familiar directory structure

A, tomcat directory

bin: closed tomcat start bat file

conf configuration file

servere.xml: configuration file with the port and other

web.xml: configure the application to file relevant web, equivalent to web site

tomcat-user: Configure User Information

lib tomcat need to run the jar package

Local logs stored in the log

Access webapp web site

http://localhost:8080/test/hello.html

work working directory: the directory used to store jsp sevlet .class files are accessed

web application is the integration of multiple web resources, simply means that a directory to manage multiple web resources

web-inf placement class lib file

 Second, configure the virtual directory

webapp default folder management, will also be placed in other directories management methods

serverw.html in the conf file modification

 You can add files by logging:

 

 

contest basic properties 

 

Guess you like

Origin www.cnblogs.com/helloworld2019/p/10942891.html