Tomcat implements hot deployment
- 2020-06-07 05:38:49
- OfStack
Hot deployment concept
Hot deployment is when you make changes to the JSP or JAVA classes without restarting the WEB server, except for configuration file changes
Hot deployment benefits
You don't have to reboot tomcat every time you make incremental packages
implementation
In tomcat \ conf \ server xml < host > < /host > Internal add < context/ > The label
<!-- implementation tomcat Hot deployment and customization ContextPath-->
<Context docBase="myPrj " path="/demo1" reloadable="true"/>
docBase: The package name of your project under webapps
path: Project access path
reloadable: Whether hot loading is enabled or not