You could try having the JSP set its modified time to 'now', using a
java.util.Calendar object. That should cause the cache on the browser to
retrieve an updated copy of the page. I don't recall how to do this in
JSP land, but servlets do it by implementing getLastModified(), derived
from HttpServlet. The idea is to set a header in the response object to
indicate the modification time as being a few milliseconds ago, but
I don't recall the exact name of the header that needs to be set.
Sorry I couldn't be more helpful.
- Roby
Zsolt Koppany wrote:
> Hi,
>
> with the code below I can get netscape not to cache a jsp page but it
> does not work with Internet-Explorer.
> Does anybody know why?
>
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");\
>
> Zsolt
>
> --
> Zsolt Koppany
> Intland GmbH www.intland.com
> Schulze-Delitzsch-Strasse 16
> D-70565 Stuttgart
> Tel: +49-711-7871080 Fax: +49-711-7871017
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]