During web projects, I often encounter modifications to the code, but the browser does not take effect for a variety of reasons. I will gradually update the solution based on my situation.
1. run in debug mode. Generally, run in Tomcat 7 under the right button of the project deployment button is used. If run serves in serves is used, it does not seem to compile automatically.
2. click the clean option under the project menu, select the project you are using in the window that opens, OK, this will delete some information about the project in the tomcat container, then redeploy, run
3. Delete the tomcat folder on your computer, decompress it, and re-import tomcat in myeclipse.
4. Delete the browser cache: Delete the browser's historical records and Cache Information (I encountered this situation today. I tried it several times in the preceding three steps, but it is useless, if a browser finds that the modified Code takes effect, the browser may be faulty)
5. To be supplemented. You are welcome to provide methods.