Ask Your Question

Revision history [back]

There could be several reasons for this issue. Here are a few common ones:

  1. Cache: Your browser might have cached the previous version of your website's JS and CSS files. Try clearing your browser cache and reloading the page to see if the changes are reflected.

  2. Tomcat configuration: Check if your Tomcat server is configured to reload resources automatically. If not, you may need to manually restart the server for changes to take effect.

  3. Eclipse Build: Make sure that your Eclipse project is configured to automatically build changes to your JS and CSS files. You can check this by right-clicking on your project and selecting Properties > Builders. Ensure that the appropriate Build Command is selected and that the "Auto build" option is enabled.

  4. File paths: Check that your JS and CSS files are being referenced correctly in your HTML code. If the file paths are incorrect, the browser will not be able to load the new files.

  5. Deployment: Ensure that your updated JS and CSS files were successfully deployed to the correct location on your application server. If the files are not present or not loaded correctly, the changes will not take effect.