Because in the development phase, the need to frequently modify the source code, if each time the code is changed to restart the server to detect the effect, it is simply troublesome to you want to die, and delay time, so, in the internet for a long, finally found a solution, special to share
I also tried to modify the Server.xml configuration file, but setting the reloadable= "true" property is still not good, and is modified in the <Context> configuration to be valid for all items.
(1) Modify the context.xml under Conf in the Tomcat 7.x installation directory and add the reloadable= "true" property on the <Context> node.
<context reloadable= "true" >
Intermediate data without modification
</context>
(2) Enter the JDK 7.x, myeclipse-> preference, and populate-dcom.sun.management.jmxremo in optional Java VM arguments Te=true such as:
(3) Deployment complete.
Note: This way of hot deployment, not only the code class files will be automatically deployed, configuration class file modification will also be automatically deployed, can greatly save development wait time.
Tomcat 7.x Hot Deployment