class="com.ebizprise.commons.acl.web.action.LoginAction">
<result name="success" type="redirect">register.action </result>
<result name="error">/index.jsp </result>
</action>
</package>
记得一定要加这个type="redirect"
或
<package name="struts" extends="struts-default">
<action name="login" class="com.ebizprise.commons.acl.web.action.LoginAction">
<result name="success" type="chain" >action 名称 </result>
<result name="error">/index.jsp </result>
</action>
</package>
Morgan: There is something difference between these two.
For the first one, it doesn't transfer value among Actions.
For the second one it will transfer value among actions.
<result name="success" type="redirect">register.action </result>
<result name="error">/index.jsp </result>
</action>
</package>
记得一定要加这个type="redirect"
或
<package name="struts" extends="struts-default">
<action name="login" class="com.ebizprise.commons.acl.web.action.LoginAction">
<result name="success" type="chain" >action 名称 </result>
<result name="error">/index.jsp </result>
</action>
</package>
Morgan: There is something difference between these two.
For the first one, it doesn't transfer value among Actions.
For the second one it will transfer value among actions.