日期:2014-05-20 浏览次数:20694 次
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd"> <struts> <constant name="struts.objectFactory" value="spring"></constant> <package name="usermanage" extends="struts-default"> <action name="addUser" class="UsersAction" method="addUser"> <result name="success" type="redirect">listUser.action</result> <result name="error">/error.jsp</result> </action> <action name="editUser" class="UsersAction" method="editUser"> <result name="success">/user/user_edit.jsp</result> </action> <action name="updateUser" class="UsersAction" method="updateUser"> <result name="success" type="redirect">listUser.action</result> <result name="error">/error.jsp</result> </action> <action name="delUser" class="UsersAction" method="delUser"> <result name="success" type="redirect">listUser.action</result> <result name="error">/error.jsp</result> </action> <action name="listUser" class="UsersAction" method="listUser"> <result name="success">/user/user_list.jsp</result> </action> <action name="login" class="UsersAction" method="login"> <result name="success">/index.jsp</result> <result name="input">/login.jsp</result> <result name="error">/error.jsp</result> </action> </package> </struts>
<result name="success" type="redirect">listUser.action</result>