tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Sabourdin <zouy...@yahoo.com>
Subject RE: JSP reloading
Date Wed, 13 Sep 2000 10:00:32 GMT
Are you sure that the tag in your web.xml (or
server.xml) has a relaod="true"?

--- Domenico di Girolamo <mdg@quipo.it> wrote:
> Hi, 
> 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 resolved) 
> By 
> Domenico di Girolamo 
>  
> Original message from: Thomas Hagedorn 
> >Hi, 
> > 
> >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 
> >tom 
> > 
> >Am Die, 12 Sep 2000 schrieben Sie: 
> >> Hi 
> >> 
> >> > -----Original Message----- 
> >> > From: Domenico di Girolamo [SMTP:mdg@quipo.it] 
> >> > Sent: Tuesday, September 12, 2000 5:55 PM 
> >> > To: tomcat-user@jakarta.apache.org 
> >> > 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 Client 
> >> > 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 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message