This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
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>
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.