How to manually deploy war package to tomcat

1. Make your project into a war package (such as helloWord.war), you can use development tools or commands;

2. Copy the project war package to the tomcat webapps directory;

3. Modify the conf \ server.xml file in the installation directory of tomcat, add the following content to the <Host> </ Host> node in the file
<Context path = "/" docBase = "hello" reloadable = "true" privileged = "true" debug = "0" />
where hello is the name of the war package,

4. Find startup.bat in the bin directory of tomcat and run it. At this time, tomcat will automatically extract the war package into a folder with the same name
 

Published 128 original articles · praised 79 · visits 7192

Guess you like

Origin blog.csdn.net/weixin_45151795/article/details/105656923