How to deploy and release new projects without restarting tomcat on the premise that tomcat has already been started

  java, question

How to deploy and release new projects without restarting tomcat on the premise that tomcat has already been started

Tomcat will try to deploy automatically if autoDeploy is configured as true in the corresponding host configuration in tomcat’s server.xml

<Host name="localhost"  appBase="webapps"
 unpackWARs="true" autoDeploy="true">

Reference:Deploying on a running Tomcat server