> throwing the exception.To avoid all these, we got to restart the Server.This
> I think cannot be solution if we are deploying these in an enterprise. Any
> Suggestions !!!
>
Try
response.setDateHeader("Expires",0);
response.setHeader("Pragma", "no-cache");

This modifies the HTTP headers (not the HTML header).
All browsers obey Expires=0, but they can be set
(IE 5.0 and NS 5.0) to always use the cached page, in such cases
the second setting should work.

I've had these same kind of obscure caching problems with ASP,
with preceding data being loaded, and the ASP equivalents of these
solved it.

Proxy server caches could also be an issue with JSP, with ASP the
"Cache-Control" HTTP header has by default the value "private" (which
means proxy servers won't cache it).

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to