Try to use <result name="success" type="chain" >doThing</result>
This will invoke ChainInterceptor that wiil copy SIMILAR(by name and type) objects in both actions. And error mesages also. Please, look at ChainInterceptor source. cuong.van.truong wrote: > > I have this actions in the same namespace: > > <action name="doThing" class="doThingAction"> > > <result>example1.jsp</result> > > </action> > > <action name="add" class=" doThingAction " method="add"> > > <result type="redirect-action" name="success"> > > doThing > > </result> > > </action> > > > > In a jsp file a form have a action="add" and in the action > class(doThingAction.java) I add a message to actionmessage. The problem > here is the value are not store on the action that it rederected > to(<action name="doThing" class="doThingAction">). How can I get the > message that I added to on the first action? Help plz..... > > > > > > CvT > > > -- View this message in context: http://www.nabble.com/struts2-actionerror---actionmessage-tf4689452.html#a13421841 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]