xml 中设置使用 struts.xml
<action name="adduser" class="manage.personal.action.AddUserAction">
<result name="success" type="redirect">/manage/UserManage.jsp</result>
<result name="input">/manage/adduser.jsp</result>
</action>
<result name="success" type="redirect">/manage/UserManage.jsp</result>
<result name="input">/manage/adduser.jsp</result>
</action>