I am using IE 6.0 and firefox 5.0.

--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:

> On 12/5/05, sma3har <[EMAIL PROTECTED]> wrote:
> > When i submit the page and hit the back button i
> can
> > submit the page again. The browser is caching the
> jsp
> > page. I have tried adding this code :
> >
> > response.setHeader("Cache-Control","no-store");
> > response.setHeader("Pragma","no-cache");
> > response.setDateHeader ("Expires", 0);
> > to my jsp page but did not help.
> >
> > Any solution to this problem? Experts please
> help....
> 
> Add "no-cache" to cache-control header like this:
>   response.setHeader("Cache-Control","no-cache,
> no-store");
> 
> Try to add "must-revalidate" header.
> 
> What browser do you use? I hope you do not use
> Opera.
> 
> BTW, Struts can mark all responses as non-cachable
> for you, use
> <controller nocache="true"/>. But remember that
> "no-store" appeared
> only in 1.2.4 (or 1.2.2?) "no-store" is important
> for Firefox.
> 
> Michael.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to