facebook

weird js caching problem

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #292251 Reply

    jnylund
    Member

    I had an old version of a js file called calendar-setup.js, I replaced with a newer version on the filesystem. Did a refresh in eclipse. Within eclipse I see the new file, but when I view using web server I still see the old file (http://localhost:8080/js/calendar.js.

    Tried clean project, exit eclipse , killed tomcat, restarted. Running tomcat using myeclipse server. Searched my disk for the old version of the file anywhere and deleted it.

    If I copy the file to calendar-setup2.js and I view in browser its the right version (http://localhost:8080/js/calendar-setup2.js), but for some reason it keeps showing me the old version if I go to http://localhost:8080/js/calendar-setup.js

    using eclipse 3.3.2 and myeclipse 6.6.

    any ideas?
    thanks
    Joel

    #292314 Reply

    Loyal Water
    Member

    Joel,
    Did you select Exploded Deployment for you project? I would suggest you remove the deployment completely. Make sure the deployment is removed from Tomcat/webapps folder and then try redeploying the app from MyEclipse. Does that help?

    #292324 Reply

    jnylund
    Member

    Hi Nipun,

    I have a really dumb question, where is the My Eclipse Tomcat at? It says its deployed in Exploded mode. Im not sure where to look for the files to manually remove them.
    (I am on a mac)

    thanks
    Joel

    #292345 Reply

    Loyal Water
    Member

    Joel,
    On the Manage Deployment page, you can select the project and then hit the browse button to go directly to the webapps folder of MyEclipse Tomcat. Hope that helps.

    #292626 Reply

    jnylund
    Member

    This message has not been recovered.

    #292637 Reply

    Loyal Water
    Member

    This message has not been recovered.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: weird js caching problem

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in