How to do Web projects when the browser side does not take effect after code modification (continuous update)

Source: Internet
Author: User
Tags browser cache

When doing Web projects, often encounter changes to the code, but the browser does not take effect, because of a variety of reasons, I will be based on the situation I encountered gradually update the solution


1. Run with debug mode, generally use the Project deployment button to the right of the button under the TOMCAT7 run on the line, if you are using the serves in the run serves, this situation does not seem to automatically compile

2. Click the Clean option under the Project menu, select the item you are using in the open window, OK, then remove some information about the project from the Tomcat container, then redeploy, run

3. Remove the Tomcat folder from your computer, re-unzip, and re-import tomcat in MyEclipse

4, delete browser cache: Delete the browser's history and cache information (I have encountered this situation today, the above three steps have been tried several times, is useless, changed a browser to find the modified code to take effect, only to find that it should be a browser problem)

5. To be supplemented, we welcome you 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.