Hi,
What webserver are you using? It's possible that the webserver caches the page.
And what editor are you using? Tomcat normally detects wether a jsp is out of date, and recompiles automatically. Check wether the date of the file is updated.
Ultimately you might want to write a batch file which restarts the server or delete the files from the work directory (not the "work" directory itself; only its contents!)
i use Tomcat 4.0-b5 and Jbuilder 4.0 as editor program.
but infact,even sometimes I used notepad.exe to modify the content of a jsp page ut
the problem still remain.
I guess you are right when u said that Webserver cache the file, but how to reconfigure it?
Many of my friends did not meet this strange symtom! unlucky me, right? :(
Hi,
If I'm not wrong Tomcat is only a servlet container. The webserver itself (Apache, IIS, iPlanet, NES, ...) can also cache pages.
And finally the browser can of course also cache the pages. Take a look at http://www.jguru.com/faq/view.jsp?EID=377 . Maybe this will help.
You've got to find out what of the following is successfully refreshing the page:
-deleting the files from the "work" directory
-restarting tomcat
-restarting webserver
-disable caching in browser
-empty browser's cache
-...
Then you can know what part is actually caching your pages.