Friday, April 04, 2008

Redirect with parameters in Struts 2

Redirecting user with some parameters in Struts 2 can be achieved as following
<name="action" class="app.Action1">
<result name="success" type="redirect-action"><param name="actionName">listFriends
<param name="namespace">/pages
<param name="parse">true
<param name="param1">${model.param1}
For more elaboration on this refer to
For elaboration on Struts Action mapping refer to


Post a Comment