pls explain. I want to put header in JSP's. The values are
//to prevent page-caching in client
response.addHeader("pragma","No-cache");
response.addHeader("Cache-Control","no-cache");
response.addDateHeader("Expires",0);
rgds
Antony Paul.
----- Original Message -----
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 5:33 PM
Subject: Re: Tag for adding no-cache header.
> On 12/10/2003 12:16 PM Antony Paul wrote:
> > Hi,
> > Does any Struts tag generate the headers necessary to say browser
not to
> > cache a JSP page. It still exists as a scriptlet in my JSP. If one is
added
> > it will be useful. I think every dynamic page need this.
> >
> > rgds
> > Antony Paul.
>
> Put this tag inside the controller tag in your struts-config:
>
> <set-property property="nocache" value="true"/>
>
>
> Adam
>
> --
> struts 1.1 + tomcat 5.0.16 + java 1.4.2
> Linux 2.4.20 Debian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]