I am trying to pass an ArrayList of Objects from one action to another. I’d like to do something like this:
<result name="success" type="redirectAction">
<param name="actionName">myAction</param>
<param name="parse">true</param>
<s:iterator status="status" value="${myObjectsArrayList}">
<param name="myObjectsArrayList[#status.index].var1" value=<s:property value="var1"/> />
</s:iterator>
</result>
Use “chain” result type, and it will keep all the parameters on the stack from the original action until the final result. One issue to mention is that you can’t remap parameters with a “chain” result.