How to deal with the problem that the browser does not take effect after code modification during web Project Creation (continuous update)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.