Thanks Felipe,
   This was quick. I will incorporate the Interceptor and check it out.

Thanks,
Anand


-----Original Message-----
From: Felipe Fraga [mailto:felipefr...@gmail.com] 
Sent: Friday, February 27, 2009 10:17 AM
To: Struts Users Mailing List
Subject: Re: Preserving Action Messages during redirect action

Glindholm solved this with an interceptor.

http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/

Best regards,

Felipe

On Fri, Feb 27, 2009 at 1:12 PM, Sundararaman, Anand
<anand.sundarara...@ps.net> wrote:
> Hi,
>   I want to redirect to another action but preserve the action 
> messages/errors from the previous action. Is there any standard way to 
> achieve this functionality in Struts 2? Or do I have to write an Interceptor 
> for this?
>
> I have a use case where the errors on a web screen needs to be shown on a 
> different screen to which I want to redirect since that action reloads data 
> from the database.
>
> Please let me know.
>
> Thanks in advance
> Anand
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to