In Struts, if you set the nocache property in ControllerConfig to true
then for each http response the no-cache http header is set.
In browsers, you could use the meta element to set the same
http header, which, I believe, will override servers' setting if any.

One of confusing thing is that if your previous page is obtained
via a http "GET" method, then using the browser's Back button will do
a "GET" again. So you may not get the "Page has Expired ..."
on every page.

Jing
Netspread Carrier
http://www.netspread.com


----- Original Message ----- 
From: "Anand M S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 02, 2003 4:51 PM
Subject: RE: Warning: Page has Expired The page you requested was created
using information


> No, i'm not using any proxy, and I'm still not able to find out how to set
> browser cache option, I was trying, but I could not find that option.
>
>
> >From: "David Friedman" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: RE: Warning: Page has Expired The page you requested was created
> >using information
> >Date: Tue, 2 Sep 2003 17:33:27 -0400
> >
> >Anand,
> >
> >Is your browser cache setting set to check the page every time,
> >"automatically", or some other option?  Is your browser set to use a
proxy
> >or cache, or are you behind a transparent (no settings needed as pages
are
> >simply intercepted) corporate proxy server?  Can you try using a HTTPS://
> >url on this page and skip this error?  Proxy servers cannot cache HTTPS
> >pages so that would help you determine if a proxy or page-caching server
is
> >intercepting your pages.
> >
> >Regards,
> >David
> >
> >-----Original Message-----
> >From: Anand M S [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, September 02, 2003 5:23 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: Warning: Page has Expired The page you requested was
> >created using information
> >
> >
> >but its happening only for few pages, I'm sure I did not configured in
> >struts-config.xml.
> >
> >Thanks,
> >Anand
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to