How to configure Tomcat Hot Start and Tomcat Hot Start
(1) When learning javaweb, every time we change the project, we need to redeploy the project. This is too troublesome.
(2) Use the hot start of tomcat to solve this problem:
In the tomcat Directory: Find conf ---- context. xml to open
Just fill in the circle!
(3) If your tomcat is self-contained in myeclipse, you need to find it in your project.
It is in its own work range:
This is my work interval. The first point is that there is a. me_tcat. The other processes in conf are the same as above!
Q: How can I set Serverxml to enable tomcat to automatically restart every time I change the java file?
<Init-param>
<Param-name> development </param-name>
<Param-value> true </param-value>
</Init-param> web. xml file <Context path = "/Windchill" docBase = "D: \ ptc \ Windchill_8.0/codebase"
Debug = "0" reloadable = "true"> modify the reloadable value to true in a configuration file defined at the same time. tomcat can be hot started only when both of them meet the requirements.
Change the value of development to true to avoid starting tomcat.
TOMCAT cannot be hot started
Generally, modification of jsp files does not need to be restarted, and class modifications must be restarted either automatically or manually.