You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Drinkwater Glen <GD...@qinetiq.com> on 2001/07/11 14:32:34 UTC

. Reloading JSP's

I am using tomcat 4.0 beta 5 on win NT and the problem is that when i
make a change to a jsp page tomcat doesnt pick it up, i have tried to
refresh the browser, shut down the start up again and nothing happens.
The only thing i can do is resave the JSP as another name, which is
really annoying. Any ideas on the situation??

Glen



-- 
The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution, 
or any action taken or omitted to be taken in reliance on such information is
prohibited and may be unlawful.

Re: . Reloading JSP's

Posted by Bill Pfeiffer <pf...@arbfile.org>.
Just confirming that this is a known bug with the win32 version.  I believe
using a recent nightly build fixes this problem.

Bill Pfeiffer
----- Original Message -----
From: "Drinkwater Glen" <GD...@qinetiq.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, July 11, 2001 8:32 AM
Subject: . Reloading JSP's


> I am using tomcat 4.0 beta 5 on win NT and the problem is that when i
> make a change to a jsp page tomcat doesnt pick it up, i have tried to
> refresh the browser, shut down the start up again and nothing happens.
> The only thing i can do is resave the JSP as another name, which is
> really annoying. Any ideas on the situation??
>
> Glen
>
>
>
> --
> The Information contained in this E-Mail and any subsequent correspondence
> is private and is intended solely for the intended recipient(s).
> For those other than the recipient any disclosure, copying, distribution,
> or any action taken or omitted to be taken in reliance on such information
is
> prohibited and may be unlawful.


RE: . Reloading JSP's

Posted by Deacon Marcus <de...@wwtech.pl>.
Hi,
Check if it's really Tomcat's fault. By default html send to browser is
cacheable, so when you reload you get the old one from local cache. Try
response.setHeader("pragma","no-cache") and
response.setHeader("cache-control","no-store") at the top of your .jsps,
that will/should prevent browsers and proxies from caching. Afaik Tomcat
automatically reloads .jsp, reloadable is only for servlets.

Greetings, deacon Marcus

> -----Original Message-----
> From: Drinkwater Glen [mailto:GDRINKWATER@qinetiq.com]
> Sent: Wednesday, July 11, 2001 2:33 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: . Reloading JSP's
>
>
> I am using tomcat 4.0 beta 5 on win NT and the problem is that when i
> make a change to a jsp page tomcat doesnt pick it up, i have tried to
> refresh the browser, shut down the start up again and nothing happens.
> The only thing i can do is resave the JSP as another name, which is
> really annoying. Any ideas on the situation??
>
> Glen
>
>
>
> --
> The Information contained in this E-Mail and any subsequent correspondence
> is private and is intended solely for the intended recipient(s).
> For those other than the recipient any disclosure, copying, distribution,
> or any action taken or omitted to be taken in reliance on such
> information is
> prohibited and may be unlawful.