You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Pawson, David" <Da...@rnib.org.uk> on 2005/04/06 10:16:29 UTC

error-page in web.xml and cache-control

I'm using response.setHeader("cache-control","no-cache");

and tomcat is correctly telling me that the page has expired
when I use the browser back button.

I can't find out what error (if any) this is, to trap it
using the <error-page> element.

Is it possible to trap this error please?


Regards DaveP.

**** snip here *****

-- 
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants.  However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: error-page in web.xml and cache-control

Posted by Jon Wingfield <jo...@mkodo.com>.
Sounds like the message IE gives when you hit back to a page served in 
response to a POST request.

http://theserverside.com/news/thread.tss?thread_id=28366
http://theserverside.com/news/thread.tss?thread_id=29758


Anto Paul wrote:
> On Apr 6, 2005 1:46 PM, Pawson, David <Da...@rnib.org.uk> wrote:
> 
>>I'm using response.setHeader("cache-control","no-cache");
>>
>>and tomcat is correctly telling me that the page has expired
>>when I use the browser back button.
>>
>>I can't find out what error (if any) this is, to trap it
>>using the <error-page> element.
>>
>>Is it possible to trap this error please?
>>
>>Regards DaveP.
>>
>>
> 
> 
> What is the exact message you get when clicking back button in browser
> ?. What browser you use ?. I think it is issued by browser not Tomcat.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: error-page in web.xml and cache-control

Posted by Anto Paul <an...@gmail.com>.
On Apr 6, 2005 1:46 PM, Pawson, David <Da...@rnib.org.uk> wrote:
> 
> I'm using response.setHeader("cache-control","no-cache");
> 
> and tomcat is correctly telling me that the page has expired
> when I use the browser back button.
> 
> I can't find out what error (if any) this is, to trap it
> using the <error-page> element.
> 
> Is it possible to trap this error please?
> 
> Regards DaveP.
> 
> **** snip here *****
> 
> --
> DISCLAIMER:
> 
> NOTICE: The information contained in this email and any attachments is
> confidential and may be privileged.  If you are not the intended
> recipient you should not use, disclose, distribute or copy any of the
> content of it or of any attachment; you are requested to notify the
> sender immediately of your receipt of the email and then to delete it
> and any attachments from your system.
> 
> RNIB endeavours to ensure that emails and any attachments generated by
> its staff are free from viruses or other contaminants.  However, it
> cannot accept any responsibility for any  such which are transmitted.
> We therefore recommend you scan all attachments.
> 
> Please note that the statements and views expressed in this email and
> any attachments are those of the author and do not necessarily represent
> those of RNIB.
> 
> RNIB Registered Charity Number: 226227
> 
> Website: http://www.rnib.org.uk
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

What is the exact message you get when clicking back button in browser
?. What browser you use ?. I think it is issued by browser not Tomcat.

-- 
Anto Paul
www.benchmarksoft.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org