[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: help cache?


Hi Carolina,

since a compiled jsp is virtually a servlet you have
access to the HttpServletResponse via attribute
response. So (short look in the apidoc ...)

response.setHeader(String, String)

should be your friend.
I don't recall the HTTP spec but

response.setHeader("expire", "0");

may work.

Carolina Vasconcelo wrote:

> please,
> ¿Como puedo hacer que en jsp, las paginas que visito no sean almacenadas en
> el cache.?.
>
> How can configure my jsp script in order to avoid the pages to be cached at
> the client side? (some like Response.Expire = 0 is ASP)
>
> Please.
>
> --
> Se despide, Carolina Vasconcelo.

--
  Carsten Heyl                          heyl@pixelboxx.de
  Pixelboxx GmbH                        http://www.pixelboxx.de/
  Ostenhellweg 56-58                    Tel.:   +49 231 53 46 30
D-44135 Dortmund                        Mobile: +49 173 278 6985