• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

After deploying page doesn't change

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. im using eclipse,java springframework and hibernate. and i noticed , that after deploying some changes doesnt take effect. i checked deployed jsp page in tomcat. it shows changes but when i want it to check with browser it shows some earlie text( wich shouldn't be shown). i restarted tomcat but it still works the same. maybe its smth with cache:) its strange because like i said in deploy directory(in tomcat) it shows correct page but with browser not correct.
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have also faced this issue before with tomcat.The changes in jsp doesnot reflect after bouncing the server.I delete the translated jsp and the compiled file , then it started working.
You can find those in tomcat/work/localhost/catalina/<context name>
 
Jonas Dimsa
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One possible cause for this is a timezone difference between your machine and the server's. If the files you put up to the server have a older date than the ones that they're replacing Tomcat will not recognize them as new.

If your server is is running on Linux or Unix the touch command can update the modified date of your files.
If you cd into your JSPs directory and type:
all of your JSPs will have their modified date updated.

It could also be that your browser is caching the page.
 
You ridiculous clown, did you think you could get away with it? This is my favorite tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic