struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Affonso <>
Subject Re: How to redirect error message
Date Sun, 09 Dec 2007 23:58:47 GMT
Yayo wrote:
> Errors are stored in a request scope attribute and after a redirect they're
> lost because a new request is launched by the client browser. You must
> explicitly (by code) store them in a session attribute to get them in the
> second request.

Preserving the messages by hand will work, of course.  But there's a 
nifty interceptor (MessageStoreInteceptor) that will do that for you now...

- Gary

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message