2002. november 14. 12:56 dátummal L Teitsma ezt írtad:

> I have to set nocache to true, because some of my Actions aren't executed
> because they or their URL's are cached. The consequence is that the
> back-button on my errorpage results in a "Page expired". This because it a
> javascript:history.back(). I cannot use GET instead of POST, because then I
> lose my parameters and have to do a lot of coding to fix that and I don't
> have time. How can I code the back button?

Why would you lose parameters w/ GET?

Do not put history.back() to the errorpage, but any other link which takes you 
to an action. 

On the other hand I try to avoid errorpage as good as I can, and handle my 
errors with ActionError and Exception. 

I get my errorpage only in development time and in extreme exceptional cases 
(eg db was shut down). 

Hth,

Tib

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to