tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Huang <>
Subject RE: JSP reloading
Date Tue, 12 Sep 2000 22:58:32 GMT
I am using Tomcat3.1 and IE5. I have no problem with reloading jsp and
servlet files. What version of Tomcat you are using?


-----Original Message-----
From: Domenico di Girolamo []
Sent: Wednesday, September 13, 2000 4:49 AM
Subject: RE: JSP reloading

I am sure that the problem is not browser's cache. 
I have cleaned up cache before testing. 
In fact i have written that when I stop Tomcat, i do not 
get "my.jsp". 
I think, like you, that would be a bad behave if it is necessary to clean up

compiled class in the work directory every time i modify jsp. 
(I have cleaned up classes in the work directory and the problem has been
Domenico di Girolamo 
Original message from: Thomas Hagedorn 
>this would be a very bad behave if it is necessary to clean up and 
>restart Tomcat every time I modify my jsp. 
>But it isn't so! The problem is that your browser caches the page, so 
>you have to enforce the browser to reload (with on 
>netscape, IE don't know). ANother good idea (for the future) may be to 
>add the pragma 'no-cache' in the header of the html-output or setting 
>expiredate to a date in the past. 
>hope this helps 
>Am Die, 12 Sep 2000 schrieben Sie: 
>> Hi 
>> > -----Original Message----- 
>> > From: Domenico di Girolamo [] 
>> > Sent: Tuesday, September 12, 2000 5:55 PM 
>> > To: 
>> > Subject: JSP reloading 
>> > 
>> > I have a problem with JSP reloading. 
>> > If I modify "my.jsp" I get the old "my.jsp" results. 
>> > Then I have deleted the "my.jsp", but Tomcat continue to response me 
>> > "my.jsp". 
>> > Tomcat continue to response me "my.jsp" also if i reboot Server and
>> > PCs. 
>> > If I stop Tomcat the client PC don not get "my.jsp". 
>> > Who can help me to resolve this problem ? 
>> [Kitching Simon] 
>> JSP files get turned into .class files that are put into the 
>> $TOMCAT_HOME/work directory. 
>> I guess that you are being served from that class file, so try 
>> stopping tomcat, deleting all 
>> files in the work directory, then restarting the system. 
>> > Thanks in advance. 
>> > Domenico di Girolamo 

View raw message