IDEA difference in the Update resources and Update classes and resources, Redeploy, Restart server's

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_40871734/article/details/99749715

Here Insert Picture Description

  • Resources Update ---- update static resources , such as html, js, css and other operating and debugging modes are effective immediately;
  • classes and Resources Update ---- update java, jsp and static resources after (1. java modifications, will be compiled into .class, then cover the next target / kao folder, case IDE debug mode, with immediate effect .IDE run mode, does not take effect immediately, need redeployed before the entry into force .jsp modified again when accessed, will be automatically updated, re-compiled java.class saved in the work directory of tomcat. Because it is accessible only to detect whether or not modified Do I need to compile it under IDEA IDE operation mode and debug mode is effective immediately refresh the next page you can).;
  • redeployed ----- redeployment , posted to tomcat, and did not restart tomcat, but delete the original, and then republish;
  • Server restart ----- restart Tomcat .

Guess you like

Origin blog.csdn.net/qq_40871734/article/details/99749715