IDEA jsp page modify solve the problem restart Tomcat deployment project, modify the page displaying invalid

Today looked back before the next use jsp write the project, the resource path to the page before submitting the modified dynamic, I replaced with el expressions out the project path before submitting servlet path inside, but after the restart and found Login servlet path has not changed after the form is submitted, multiple reboots are invalid, then find quite a few related posts on Baidu, according to change a bit configuration is still valid, after carefully read a blog https: // blog. csdn.net/jiangyu1013/article/details/84105034

I finally found the problem which turned out to be configuration problems before starting the server, when we modify the project static code, you need to set redeploy Redeploy project resources, so as to re-modify the contents compiled deployed to the server, the lesson of blood, configuration is as follows

 

 The main attention is "On 'Update action" that is configured to Repdeploy, so every time you start the server will re-deploy your project, so your every change to take effect

The desire to help small partners encounter the same problem

Guess you like

Origin www.cnblogs.com/poison-future/p/12006294.html