struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <cuong.van.tru...@finntech.no>
Subject struts2 actionerror & actionmessage
Date Thu, 25 Oct 2007 09:02:16 GMT
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">

                <param name="actionName">doThing</param>

            </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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message