struts配置

<?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>

<!-- 收银员配置文件 -->

<package namespace="/Cash" name="Cash" extends="struts-default">

<action name="login_*" class="logininfoAction" method="{1}">

       <result name="cashier">/cash/jsp/cashier.jsp</result>

       <result name="input">/cash/jsp/Login.jsp</result>

   </action>

   <action name="orderInfo_*" class="orderInfoAction" method="{1}">

    <result name="payMoney">/cash/jsp/PayMoneyTwo.jsp</result>

    <result name="PayCounts">/cash/jsp/PayCounts.jsp</result>

    <result name="asscoutfinsh">/cash/jsp/CasherfinshExit.jsp</result>

    <result name="exit">/cash/jsp/Login.jsp</result>

   </action>

   <action name="associator_*" class="associatorAction" method="{1}">

    <result name="associator">/cash/jsp/Associator.jsp</result>

    <result name="addAssociator">/cash/jsp/AddAssociator.jsp</result>

    <result name="updateAssociator">/cash/jsp/UpdateAssociator.jsp</result>

    <result name="checkAssociator">/cash/jsp/PayCounts.jsp</result>

    <result name="associatorManage">/cash/jsp/associatorManage.jsp</result>

    <result name="updateInteges">/cash/jsp/changeIntegral.jsp</result>

   </action>

   <action name="orderDetail_*" class="orderDetailAction" method="{1}">

   </action>

   <action name="employee_*" class="employeeAction" method="{1}">

    <result name="updateEmpPwd">/cash/jsp/UpdateEmpPwd.jsp</result>

   </action>

</package>

</struts>

你可能感兴趣的:(struts配置)