IntelliJ idea The default file is saved automatically, but there is a project JSP file on hand that doesn't immediately respond to changes in Tomcat. If you want to see changes immediately after the JSP file changes, you can modify the configuration to achieve.
In Idea In the configuration of server in Tomcat, there is an on frame deactivation, select Update classes and resources. There is also a configuration on update action, which is the manual operation of the time to take what action, you can restart the server, you can update the class and resource files as above, I chose Update classes and resources, you can also choose redeploy.
On update action: When an update is found, select Update classes and resources on frame deactivation:Select Update classes and resources when idea switches (such as indent, open page, etc.)However, the current project does not have update Classes and ResourcesThis option, there is a hot Swap classes. This is due to the server added artifact type problem, generally a module corresponds to two types ofArtifact, one is war, one is war explored. The War is the release of the war package, the current project is this form, in this form oN Frame deactivation configuration without update classes and resources options. War explored is the publish file directory, choose this form, ON Frame deactivation appears in Update classes and resources options.
From for notes (Wiz)
IntelliJ idea Hot Load Automatic Update (update classes and resources)