Tag for adding no-cache header.

2003-12-10 Thread Antony Paul
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.

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
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

Re: Tag for adding no-cache header.

2003-12-10 Thread Antony Paul
] 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

Re: Tag for adding no-cache header.

2003-12-10 Thread 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

RE: Tag for adding no-cache header.

2003-12-10 Thread Trieu, Danny
Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 3:16 AM To: struts Subject: Tag for adding no-cache header. 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

RE: Tag for adding no-cache header.

2003-12-10 Thread Fullam, Jonathan
, December 10, 2003 11:31 AM To: 'Struts Users Mailing List' Subject: RE: Tag for adding no-cache header. In your deployment descriptor, web.xml, you can can set the ActionServlet's parameter no-cache=true. The container will take care of this for you as long as all of your request go through

Re: Tag for adding no-cache header.

2003-12-10 Thread Sylvain Cliche
PROTECTED] Sent: Wednesday, December 10, 2003 11:34 AM Subject: RE: Tag for adding no-cache header. Setting the nocache in the web.xml has actually been deprecated. A better solution for you is to set the nocache header as an attribute inside the controller element of you struts-config file

RE: Tag for adding no-cache header.

2003-12-10 Thread Trieu, Danny
it, to confess your ignorance. - Confucius (551-479 BC) -Original Message- From: Sylvain Cliche [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 9:23 AM To: Struts Users Mailing List Subject: Re: Tag for adding no-cache header. 1- Does someone know precisely what headers are added

Re: Tag for adding no-cache header.

2003-12-10 Thread Christian Bollmeyer
Am Mittwoch, 10. Dezember 2003 18:30 schrieb Trieu, Danny: If I remember correctly, I think the request processor did exactly what you did on 2. And I think (1) approach is better and it consistent with MVC. Just make sure that all of your request will go through the FrontController then all

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
On 12/10/2003 09:18 PM Christian Bollmeyer wrote: AFAIK Struts issues only the 'standard three' set of NoCache directions, so the IE extensions are not there. The same is true from wget -S 3 Pragma: No-cache 4 Cache-Control: no-cache 5 Expires: Thu, 01 Jan 1970 00:00:00 GMT Adam -- struts 1.1 +