The problem is probably local cache. I have noticed the same thing.
Based upon previous suggestions from
another list (jcorporate) I have included the following in all of my
jsps:
---------------------------------------------------------------------------------------
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache"); // //HTTP 1.0
response.setDateHeader("Expires",0); //prevents caching at the proxy
server
---------------------------------------------------------------------------------------
This seems to force IE 5.5 (or whatever version you are running) to go
to the server. It eventually will, but in my
experience it can take several hours. BTW I am using W2K with sp1.
Another technique that you can use (that comes from this list) is to add
a dummy parameter that is
always different (say ?x=nnnnnnnnnnn) where nnn... is the number of
milliseconds from 1/1/70. This
can easily be created in Javascript in the browser. In this way the
browser will also ignore anything
it has in cache.
> Subject: jsp tomcat reloading problems...
> Date: Wed, 18 Apr 2001 17:56:28 +0200
> From: Martin Kjellqvist
>
> Hi All.
>
> I have run into a really anoing problem which I can't seem to fix.
>
> When I have done any changing in an existing jsp page tomcat won't reload
> it.
> I have to shutdown and restart tomcat, and sometimes I even have to delete
> the work folder to get tomcat to reconignize (don't know how to spell that
> word :)) the changes I made to the page.
>
> The problem started when I changed my OS from win 98 to win 2000 pro. Never
> had that problem before. I use tomcat 3.2 (copied the entire folder from win
> 98 system) and java 1.3.0 on a PIII 550 128MB.
>
> Anyone had the same problem? Any suggestions?
>
> Regards
>
> /Martin
>
> --------------------------------------------
> Martin Kjellqvist
> cellular: +46 (0)705 - 72 01 87
>
> Teknik i Media Phone: +46 (0)40 97 33 10
> Per Weijersgatan 4 Fax: +46 (0)40 97 95 93
> S-211 34 Malmö
> Webb: http://www.tim.se
> E-mail: [EMAIL PROTECTED]
> --------------------------------------------
>
>
--
Ivan Handler
Networking for Democracy
[EMAIL PROTECTED]
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets