Day49 Web Mind Mapping finishing, Tomcat deploy Web applications in three ways

1. Mind Map

2.Tomcat three ways to deploy Web applications

 Method 1: web applications directly placed in the webapps directory

Directly to a web application placed under tomcat / webapps directory. At this web application directory name is the name of the application should be accessed under tomcat

 

 

 Second way: Virtual Directory Starter Edition

Not a tomcat web application deployment under load. May be disposed tomcat / conf / server.xml file , the file server.xml <Host> tag add a piece configured as follows:

 

 

 

 

 Three ways: optimized version of the virtual directory

Create a xml file any name under tomcat / conf / Catalina / localhost, for example: create a good.xml file, in good.xml in writing as follows:

 

 

 

 

Guess you like

Origin www.cnblogs.com/Her4c/p/12669810.html