Wouldn't setting the expires date to the current time make the page
expire?  I'm trying to make it not expire.

> -----Original Message-----
> From: Dennis van den Berg [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, September 06, 2002 8:51 AM
> To: Struts Users Mailing List
> Subject: RE: Avoiding the "page is expired" with POSTed forms
> 
> 
> I extended the ActionServlet to set the following headers.
> 
>         response.setDateHeader("Expires", System.currentTimeMillis());
>         response.setDateHeader("Last-Modified", 
> System.currentTimeMillis());
> 
> Hope this helps
> 
> Dennis
> 
> -----Original Message-----
> From: Michael [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 5 september 2002 18:13
> To: Struts Users Mailing List
> Subject: Avoiding the "page is expired" with POSTed forms
> 
> 
> Is it possible to avoid the "page is expired" problem 
> resulting from going back to a page that was the result of a 
> POST?  I temporarily changed my form to GET and it works fine 
> now but I really prefer post.
> 
> Michael
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 


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

Reply via email to