Hi,
if its struts2, take a look at this...
http://struts.apache.org/2.x/docs/message-store-interceptor.html
Thanks,
Nuwan
----- Original Message -----
From: "Al Sutton" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <user@struts.apache.org>
Sent: Tuesday, May 22, 2007 4:21 PM
Subject: [s2] Best method of passing ActionErrors through a redirect
Simple question;
Is there any way to retain messages added with addActionError or
addActionMessage during a redirect?
More complex explanation of my setup;
ActionA gets data and has uses a jsp to display the data (using
<result>my_jsp.jsp</result>).
my_jsp.jsp has a comment field which submits data to ActionB
ActionB processes the comment and then should send the user to ActionA
which
gets the data with the new comment and re-displays the jsp.
To go from ActionB to ActionA I use a redirect, but the redirect seems to
cause anything added with addActionError or addActionMessage to get
dropped
and so the jsp doesn't display them.
Any suggestions on what to do?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]