「struts2入門」chain、redirectとredirectActionを利用するサンプル
Javaコード:
<action name="redirectAndChainExampleAction" class="jp.cftpj.ExampleAction">
<result>/page/top.jsp</result>
<result type="redirect" name="employeeTop">employeeTop.jsp</result>
<result type="redirectAction" name="cftpjTop">cftpjTop</result>
<result type="chain" name="userManage">userManageTop</result>
</action>