tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deacon Marcus" <>
Subject RE: . Reloading JSP's
Date Mon, 11 Jun 2001 14:42:33 GMT
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 []
> Sent: Wednesday, July 11, 2001 2:33 PM
> To: ''
> 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.

View raw message