• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

After deploying page doesn't change

 
Jonas Dimsa
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic