struts-config.xml

 <?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
  <data-sources />
  <form-beans >
    <form-bean name="usersForm" type="com.jlins.struts.form.UsersForm" />
    <form-bean name="newsForm" type="com.jlins.struts.form.NewsForm" />
    <form-bean name="adminUserForm" type="com.jlins.struts.form.AdminUserForm" />
    <form-bean name="priceForm" type="com.jlins.struts.form.PriceForm" />
    <form-bean name="buylistForm" type="com.jlins.struts.form.BuylistForm" />
    <form-bean name="addressForm" type="com.jlins.struts.form.AddressForm" />
    <form-bean name="clTypeForm" type="com.jlins.struts.form.ClTypeForm" />
    <form-bean name="suppliersForm" type="com.jlins.struts.form.SuppliersForm" />
    <form-bean name="oaUserForm" type="com.jlins.struts.form.OaUserForm" />
    <form-bean name="oaBlogForm" type="com.jlins.struts.form.OaBlogForm" />
    <form-bean name="oaDeclarationForm" type="com.jlins.struts.form.OaDeclarationForm" />
    <form-bean name="oaFormForm" type="com.jlins.struts.form.OaFormForm" />
    <form-bean name="oaMessageForm" type="com.jlins.struts.form.OaMessageForm" />
    <form-bean name="oaOutstandingForm" type="com.jlins.struts.form.OaOutstandingForm" />
    <form-bean name="oaPetitionForm" type="com.jlins.struts.form.OaPetitionForm" />
    <form-bean name="oaReplyForm" type="com.jlins.struts.form.OaReplyForm" />
    <form-bean name="mailSenderForm" type="com.jlins.struts.form.MailSenderForm" />
    <form-bean name="oaOrderForm" type="com.jlins.struts.form.OaOrderForm" />
    <form-bean name="oaScheduleForm" type="com.jlins.struts.form.OaScheduleForm" />
    <form-bean name="oaContractForm" type="com.jlins.struts.form.OaContractForm" />
    <form-bean name="oaCustomerForm" type="com.jlins.struts.form.OaCustomerForm" />
    <form-bean name="oaDealerForm" type="com.jlins.struts.form.OaDealerForm" />
    <form-bean name="oaGoodsForm" type="com.jlins.struts.form.OaGoodsForm" />
    <form-bean name="oaPromotionForm" type="com.jlins.struts.form.OaPromotionForm" />
    <form-bean name="oaReturnVisitForm" type="com.jlins.struts.form.OaReturnVisitForm" />
    <form-bean name="oaSuitForm" type="com.jlins.struts.form.OaSuitForm" />
    <form-bean name="oaBillForm" type="com.jlins.struts.form.OaBillForm" />
   
  </form-beans>
  <global-exceptions />
  <global-forwards >
    <forward name="failure" path="/jsp/failture.jsp" />
  </global-forwards>
  <action-mappings >
  
  <!--请求转向  -->
  <!-- 主要导航 -->
      <action path="/user"  forward="/jsp/users.jsp"  />
      <action path="/jianjie"  forward="/jsp/company_list.html"  />
<!--     <action path="/ziyuan"  forward="/jsp/ziyuan/ziyuan_index.html"  />  -->
      <action path="/ziyuan"  forward="/jsp/ziyuan/pingbao.html"  />
      
      <action path="/niangzhao"  forward="/jsp/niangzao_list.html"  />
       <action path="/zhanshi"  forward="/jsp/zhanshi/newProduct.html"  />
      <action path="/old_zhanshi"  forward="/jsp/product_show.html"  />
      <action path="/old_zhanshi2"  forward="/jsp/new_product_show.html"  />
      <action path="/wenhua" forward="/jsp/wenhua_list.html"/>
      <action path="/lianxi" forward="/jsp/lianxi.html"/>
      <action path="/luntan" forward="/jsp/luntan/luntan.html"/>
      <!-- jianjie -->
      <action path="/jingli"  forward="/jsp/jianjie/jingli.html" />
      <action path="/zhichi"  forward="/jsp/jianjie/zhichi.html" />
      <action path="/xingxiang"  forward="/jsp/jianjie/xingxiang.html" />
      <action path="/qianjing"  forward="/jsp/jianjie/qianjing.html" />
      <!-- wenhua -->
      <action path="/lishi" forward="/jsp/wenhua_list.html"/>
      <action path="/gongyi" forward="/jsp/wenhua/niangzao.html"/>
      <action path="/fenlei" forward="/jsp/wenhua/fenlei.html"/>
      <action path="/jiankang" forward="/jsp/wenhua/jiankang.html"/>
      <action path="/lijie"   forward="/jsp/wenhua/lijie.html" />
      <action path="/chucun" forward="/jsp/wenhua/cunchu.html" />
      <action path="/liyi" forward="/jsp/wenhua/liyi.html"/>
      <!-- zhanshi --> 
      <action path="/show" forward="/jsp/zhanshi/showProduct.jsp"/>
      <!-- niangzao --> 
      <action path="/redwine" forward="/jsp/gongyi/redwine.html"/>
      <action path="/whitewine" forward="/jsp/gongyi/whitewine.html"/>
      <action path="/qipaowine" forward="/jsp/gongyi/qipaowine.html"/>
      <action path="/jiujingwine" forward="/jsp/gongyi/jiujingwine.html"/>
      <action path="/bailandiwine" forward="/jsp/gongyi/bailandiwine.html"/>
      <!-- luntan  huiyuan --> 
       <action path="/link_reg" forward="/jsp/luntan/users.jsp"/>
       <action path="/item" forward="/jsp/luntan/declaration.jsp"/>
       <action path="/buy" forward="/jsp/huiyuan/buy.jsp"></action>
       <action path="/savabuy" forward="/jsp/huiyuan/gouwuche.jsp"/>
       <action path="/Login" forward="/jsp/huiyuan/login.jsp"/>
       <action path="/tuichu" forward="/jsp/huiyuan/tuichu.jsp"/>
      <!-- xinwen -->
       
      <!-- ziyuan --> 
      <action path="/pingbao" forward="/jsp/ziyuan/pingbao.html"/>
      <action path="/yanshi" forward="/jsp/ziyuan/yanshi.jsp"/>
      <action path="/guanggao" forward="/jsp/ziyuan/guanggao.html"/>
      <action path="/xuanchuance" forward="/jsp/ziyuan/xuanchuan.html"/>
      <!-- oa xiaoshou -->
      <action path="/form" forward="/jsp/oa/xiaoshou/addForm.jsp"/>
      <action path="/mform" forward="/jsp/oa/xiaoshou/addMForm.jsp"/>
      <action path="/message" forward="/jsp/oa/xiaoshou/addMessage.jsp"/>
      <action path="/outstanding" forward="/jsp/oa/xiaoshou/addOutstanding.jsp"/>
      <action path="/petition" forward="/jsp/oa/xiaoshou/addPetition.jsp"/>
      <!-- 
      <action path="/rss" forward="/rss/xl_yg_rss.jsp"/>-->
     
  <!--end  -->
  
 
  
   <action 
       path="/index" 
       scope="request"
       type="com.jlins.struts.action.IndexAction"  
       >
       <forward name="success" path="/jsp/back_ground.jsp"></forward>
   </action>
      <action path="/rss" 
           scope="request"
           type="com.jlins.struts.action.RssAction"
           >
       <forward name="success" path="/rss/xl_yg_rss.jsp"></forward>
   </action>
<!-- register 把action交给spring管理的好处,对action进行事务管理 --> 
    <action
      attribute="usersForm"
      input="/jsp/luntan/users.jsp"
      name="usersForm"
      path="/users"
      scope="request"
      validate="true"
      type="com.jlins.struts.action.UsersAction"
       >
      <forward name="success" path="/jsp/huiyuan.jsp" />
      <forward name="show" path="/jsp/huiyuan.jsp" />
      <forward name="showUsers" path="/jsp/huiyuan/showUser.jsp" />
      <forward name="showEdit" path="/jsp/huiyuan/editUser.jsp" />
      <forward name="save_edit" path="/users.do?action=show" />
      <forward name="failure" path="/jsp/huiyuan/login.jsp" />
    </action>
 <!-- end register -->   
 <action path="/FNews" 
         input="/index.do"
         type="com.jlins.struts.action.NewsAction"
 >
    <forward name="success" path="/jsp/news/NewsContent.jsp"/>
    <forward name="all" path="/jsp/news/allNews.jsp"/>
    
 
 </action>
    
    
    <action
      attribute="newsForm"
      input="/jsp/news.jsp"
      name="newsForm"
      path="/saveNews"
      scope="request"
      parameter="save"
      type="com.jlins.struts.action.NewsAction"
      >
      <forward name="success" path="/findNews.do" />
    </action>
    <action
      path="/zhaoshang"
      scope="request"
      parameter="zhaoshang"
      type="com.jlins.struts.action.ZhaoshangAction"
      >
      <forward name="success" path="/jsp/zhaoshang/showZhaoshang.jsp" />
    </action>
     <action
      path="/wenhuaSave"
      scope="request"
      parameter="wenhua"
      >
      <forward name="success" path="/jsp/showWenhua.jsp" />
    </action>
     <action
      path="/news"
      scope="request"
      parameter="news"
      >
      <forward name="success" path="/jsp/showNews.jsp" />
    </action>
    
    <action
      attribute="adminUserForm"
      input="/jsp/adminUser.jsp"
      name="adminUserForm"
      path="/adminUser"
      scope="request" 
      validate="true"
      type="com.jlins.struts.action.AdminUserAction"
      >
      <forward name="success" path="/jsp/Admin.jsp" />
      <forward name="failure" path="/jsp/LoginFailure.jsp" />
    </action>
    <action path="/indexAction" type="com.jlins.struts.action.IndexActionAction" />
    <action
      attribute="priceForm"
      input="/jsp/houtai/price.jsp"
      name="priceForm"
      path="/price"
      scope="request"
      type="com.jlins.struts.action.PriceAction"
      >
      <forward name="success" path="/jsp/houtai/price.jsp"></forward>
      <forward name="Link_page" path="/jsp/huiyuan/huiyuan.jsp"/>
      <forward name="error" path="/jsp/houtai/error.jsp"></forward>
      </action>
    <action
      attribute="buylistForm"
      input="/jsp/huiyuan/buy.jsp"
      name="buylistForm"
      path="/buylist"
      scope="request"
      type="com.jlins.struts.action.BuylistAction"
     >
      <forward name="gouwuche1" path="/jsp/huiyuan/gouwuche.jsp"  redirect="true"/>
      <forward name="gouwuche" path="/jsp/huiyuan/redirect.jsp"  />
      <forward name="showgouwuche" path="/jsp/huiyuan/gouwuche.jsp"/>
      <forward name="saveSuccess" path="/jsp/huiyuan/redirect.jsp" />
      <forward name="payfor_it" path="/jsp/huiyuan/batchnumber_redirect.jsp" />
      <forward name="batchlist" path="/jsp/huiyuan/batchlist.jsp" />
      
      </action>
    <action
      attribute="addressForm"
      input="/jsp/huyuan/address.jsp"
      name="addressForm"
      path="/address"
      scope="request"
      type="com.jlins.struts.action.AddressAction"
     >
      <forward name="save_success" path="/jsp/huiyuan/address_redirect.jsp"/>
      <forward name="show" path="/jsp/huiyuan/showAddress.jsp"/>
      <forward name="new" path="/jsp/huiyuan/address.jsp"/>
      <forward name="chooseAddress" path="/jsp/huiyuan/chooseAddress.jsp"/>
      <forward name="zhuanyi_edit" path="/jsp/huiyuan/editAddress.jsp"/>
      <forward name="edit_save" path="/jsp/huiyuan/address_buy_redirect.jsp" />
  </action>
    <action 
            path="/batchnumber"  
            type="com.jlins.struts.action.BatchnumberAction"
    >
    <forward name="success" path="/jsp/huiyuan/payfor_it.jsp"/>
    </action>
    <action
      attribute="clTypeForm"
      input="/jsp/yuanacailiao/clType.jsp"
      name="clTypeForm"
      path="/clType"
      scope="request"
      type="com.jlins.struts.action.ClTypeAction"
      >
      <forward name="add" path="/jsp/yuancailiao/cl_add.jsp"/>
      </action>
    <action
      attribute="suppliersForm"
      input="/jsp/yuancailiao/suppliers.jsp"
      name="suppliersForm"
      path="/suppliers"
      scope="request"
      type="com.jlins.struts.action.SuppliersAction"
       >
       <forward name="index" path="/jsp/yuancailiao/cl_index.jsp"/>
       <forward name="showall" path="/jsp/yuancailiao/cl_index.jsp"/>
       <forward name="more" path="/jsp/yuancailiao/cl_more.jsp"/>
       <forward name="add" path="/jsp/yuancailiao/cl_add.jsp"/>
       <forward name="edit" path="/jsp/yuancailiao/cl_edit.jsp"/>
       <forward name="addtype" path="/jsp/yuancailiao/cl_addtype.jsp"/>
       <forward name="error" path="/suppliers.do?action=add"/>
       
     </action>
    <action
      attribute="oaUserForm"
      input="/jsp/oa/oaUser.jsp"
      name="oaUserForm"
      path="/oaUser"
      scope="request"
      type="com.jlins.struts.action.OaUserAction"
     >
    <forward name="tologin" path="/jsp/oa/login.jsp"/>
    <forward name="newAll" path="/jsp/oa/xiaoshou/showAllUser.jsp"/>
    <forward name="reg" path="/jsp/oa/reg.jsp"/>
    <forward name="saveReg" path="/jsp/oa/waitConfig.jsp"/>
    <forward name="update" path="/oaUser.do?action=newAll"/>
    <forward name="delete" path=""/>
     </action>
    <action 
        path="/xs_index"
        type="com.jlins.struts.action.Xs_indexAction"  >
         <forward name="index" path="/jsp/oa/xiaoshou/xl_yg_index.jsp"/>
    </action>
    <action
      attribute="oaBlogForm"
      input="/jsp/oa/xiaoshou/oaBlog.jsp"
      name="oaBlogForm"
      path="/oaBlog"
      scope="request"
      type="com.jlins.struts.action.OaBlogAction"
       >
        <forward name="add" path="/jsp/oa/xiaoshou/onBlog.jsp"/>
        <forward name="u_all" path="/jsp/oa/xiaoshou/showAllBlog.jsp"/>
        <forward name="show" path="/jsp/oa/xiaoshou/showBlogContent.jsp"/>
        <forward name="save" path="/oaBlog.do?action=u_all"/>
      </action>
    <action
      attribute="oaDeclarationForm"
      input="/jsp/oa/xiaoshou/oaDeclaration.jsp"
      name="oaDeclarationForm"
      path="/oaDeclaration"
      scope="request"
      type="com.jlins.struts.action.OaDeclarationAction"
      >
        <forward name="add" path="/jsp/oa/xiaoshou/onDeclaration.jsp"/>
        <forward name="u_all" path="/jsp/oa/xiaoshou/showAllDeclaration.jsp"/>
        <forward name="show" path="/jsp/oa/xiaoshou/showDeclarationContent.jsp"/>
        <forward name="save" path="/jsp/oa/xiaoshou/declarationSuccess.jsp"/>
        <forward name="edit" path="/jsp/oa/xiaoshou/updateDeclaration.jsp"/>
        <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
        <forward name="delete" path="/oaDeclaration.do?action=u_all"/>
      </action>
    <action
      attribute="oaFormForm"
      input="/jsp/oa/xiaoshou/oaForm.jsp"
      name="oaFormForm"
      path="/oaForm"
      scope="request"
      type="com.jlins.struts.action.OaFormAction"
     >
           <forward name="add" path="/jsp/oa/xiaoshou/onForm.jsp"/>
           <forward name="all" path="/jsp/oa/xiaoshou/showAllForm.jsp"/>
           <forward name="showUser" path="/jsp/oa/xiaoshou/showAllUserForm.jsp"/>  
           <forward name="success" path="/yes.jsp"/>
           <forward name="toupdate" path="/jsp/oa/xiaoshou/success.jsp"/>
           <forward name="show" path="/jsp/oa/xiaoshou/showForm.jsp"/>
           <forward name="week" path="/jsp/oa/xiaoshou/addForm.jsp"  />
           <forward name="month" path="/jsp/oa/xiaoshou/addMForm.jsp"  />
           <forward name="detail" path="/jsp/oa/xiaoshou/formDetail.jsp"/>
           <forward name="allUser" path="/jsp/oa/xiaoshou/showAllUsersForm.jsp"/>
           <forward name="showUserWeekForm" path="/jsp/oa/xiaoshou/showAllUsersWeekForm.jsp"/>
      </action>
    <action
      attribute="oaMessageForm"
      input="/jsp/oa/xiaoshou/oaMessage.jsp"
      name="oaMessageForm"
      path="/oaMessage"
      scope="request"
      type="com.jlins.struts.action.OaMessageAction"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onMessage.jsp"/>
       <forward name="save" path="/oaMessage.do?action=u_all"/>
       <forward name="saveIt" path="/jsp/oa/xiaoshou/messageSuccess.jsp"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllMessage.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showMessageContent.jsp"/>
      </action>
    <action
      attribute="oaOutstandingForm"
      input="/form/oaOutstanding.jsp"
      name="oaOutstandingForm"
      path="/oaOutstanding"
      scope="request"
      type="com.jlins.struts.action.OaOutstandingAction"
       >
        <forward name="add" path="/jsp/oa/xiaoshou/onOutstanding.jsp"/>
        <forward name="u_all" path="/jsp/oa/xiaoshou/showAllOutstanding.jsp"/>
      </action>
    <action
      attribute="oaPetitionForm"
      input="/jsp/oa/xiaoshou/oaPetition.jsp"
      name="oaPetitionForm"
      path="/oaPetition"
      scope="request"
      type="com.jlins.struts.action.OaPetitionAction"
        >
        <forward name="add" path="/jsp/oa/xiaoshou/onPetition.jsp"/>
        <forward name="u_all" path="/jsp/oa/xiaoshou/showAllPetition.jsp"/>
        <forward name="save" path="/jsp/oa/xiaoshou/PetitionSuccess.jsp"/>
        <forward name="show" path="/jsp/oa/xiaoshou/showPetitionContent.jsp"/>
        <forward name="petition" path="/jsp/oa/xiaoshou/upPetitionContent.jsp"/>
        <forward name="showUser" path="/jsp/oa/xiaoshou/showUser.jsp"/>
        <forward name="newAll" path="/jsp/oa/xiaoshou/showAllNewPetition.jsp"/>
        <forward name="edit" path="/jsp/oa/xiaoshou/updatePetition.jsp"/>
        <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
        <forward name="toupdate" path="/jsp/oa/xiaoshou/success.jsp"/>
        <forward name="delete" path="/oaPetition.do?action=u_all"/>
      </action>
    <action
      attribute="oaReplyForm"
      input="/jsp/oa/xiaoshou/oaReply.jsp"
      name="oaReplyForm"
      path="/oaReply"
      scope="request"
      type="com.jlins.struts.action.OaReplyAction"
      />
      
    <action
      attribute="mailSenderForm"
      input="/javamail/mailSender.jsp"
      name="mailSenderForm"
      path="/mailSender"
      scope="request"
      type="com.jlins.struts.action.MailSenderAction"
       >
       <forward name="add" path="/javaMail/configMail.jsp"/>
       <forward name="newMail" path="/javaMail/addemail.jsp"/>
       <forward name="receive" path="/javaMail/receive_email.jsp"/>
       <forward name="config" path="/javaMail/link_all_mailAdd.jsp"/>
       <forward name="edit" path="/javaMail/link_all_mailAdd.jsp"/>
       <forward name="update" path="/javaMail/link_all_mailAdd.jsp"/>
       <forward name="delete" path="/javaMail/link_all_mailAdd.jsp"/>
       <forward name="all" path="/javaMail/MailList.jsp"/>
       <forward name="find" path="/javaMail/updateConfigMail.jsp"/>
       
     </action>
    <action
      attribute="oaOrderForm"
      input="/jsp/oa/xiaoshou/oaOrder.jsp"
      name="oaOrderForm"
      path="/oaOrder"
      scope="request"
      type="com.jlins.struts.action.OaOrderAction"  >
       <forward name="add" path="/jsp/oa/xiaoshou/onOrder.jsp"/>
       <forward name="save" path="/jsp/oa/xiaoshou/OrderSuccess.jsp"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllOrder.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showOrderContent.jsp"/>
       <forward name="delete" path="/oaOrder.do?action=u_all"/>
     </action>
    <action
      attribute="oaScheduleForm"
      input="/jsp/oa/xiaoshou/oaSchedule.jsp"
      name="oaScheduleForm"
      path="/oaSchedule"
      scope="request"
      type="com.jlins.struts.action.OaScheduleAction"
       >
        <forward name="add" path="/jsp/oa/xiaoshou/onSchedule.jsp"/>
        <forward name="officeAdd" path="/office/onSchedule.jsp"/>
        <forward name="u_all" path="/jsp/oa/xiaoshou/showAllSchedule.jsp"/>
        <forward name="save" path="/jsp/oa/xiaoshou/scheduleSuccess.jsp"/>
        <forward name="show" path="/jsp/oa/xiaoshou/showScheduleContent.jsp"/>
        <forward name="edit" path="/jsp/oa/xiaoshou/updateSchedule.jsp"/>
        <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
        <forward name="delete" path="/oaSchedule.do?action=u_all"/>
        <forward name="office_schodule" path="/jsp/oa/xiaoshou/success.jsp"/>
     </action>
    <action
      attribute="oaContractForm"
      input="/jsp/oa/xiaoshou/oaContract.jsp"
      name="oaContractForm"
      path="/oaContract"
      scope="request"
      type="com.jlins.struts.action.OaContractAction"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onContract.jsp"/>
       <forward name="save" path="/oaContract.do?action=u_all"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllContract.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showContractContent.jsp"/>
       <forward name="edit" path="/jsp/oa/xiaoshou/updateContract.jsp"/>
       <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
       <forward name="delete" path="/oaContract.do?action=u_all"/>
    </action>
    <action
      attribute="oaCustomerForm"
      input="/form/oa/xiaoshow/oaCustomer.jsp"
      name="oaCustomerForm"
      path="/oaCustomer"
      scope="request"
      type="com.jlins.struts.action.OaCustomerAction"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onCustomer.jsp"/>
       <forward name="save" path="/oaCustomer.do?action=u_all"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllCustomer.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showCustomerContent.jsp"/>
       <forward name="edit" path="/jsp/oa/xiaoshou/updateCustomer.jsp"/>
       <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
       <forward name="delete" path="/oaCustomer.do?action=u_all"/>
    </action>
    <action
      attribute="oaDealerForm"
      input="/form/oaDealer.jsp"
      name="oaDealerForm"
      path="/oaDealer"
      scope="request"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onDealer.jsp"/>
       <forward name="save" path="/oaDealer.do?action=u_all"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllDealer.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showDealerContent.jsp"/>
       <forward name="edit" path="/jsp/oa/xiaoshou/updateDealer.jsp"/>
       <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
       <forward name="delete" path="/oaDealer.do?action=u_all"/>
    </action>
    <action
      attribute="oaGoodsForm"
      input="/form/oaGoods.jsp"
      name="oaGoodsForm"
      path="/oaGoods"
      scope="request"
      type="com.jlins.struts.action.OaGoodsAction"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onGoods.jsp"/>
       <forward name="save" path="/oaGoods.do?action=u_all"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllGoods.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showGoodsContent.jsp"/>
       <forward name="edit" path="/jsp/oa/xiaoshou/updateGoods.jsp"/>
       <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
       <forward name="delete" path="/oaGoods.do?action=u_all"/>
    </action>
    <action
      attribute="oaPromotionForm"
      input="/form/oaPromotion.jsp"
      name="oaPromotionForm"
      path="/oaPromotion"
      scope="request"
      type="com.jlins.struts.action.OaPromotionAction"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onPromotion.jsp"/>
       <forward name="save" path="/oaPromotion.do?action=u_all"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllPromotion.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showPromotionContent.jsp"/>
       <forward name="edit" path="/jsp/oa/xiaoshou/updatePromotion.jsp"/>
       <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
       <forward name="delete" path="/oaPromotion.do?action=u_all"/>
    </action>
    <action
      attribute="oaReturnVisitForm"
      input="/form/oaReturnVisit.jsp"
      name="oaReturnVisitForm"
      path="/oaReturnVisit"
      scope="request"
      type="com.jlins.struts.action.OaReturnVisitAction"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onReturnVisit.jsp"/>
       <forward name="save" path="/oaReturnVisit.do?action=u_all"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllReturnVisit.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showReturnVisitContent.jsp"/>
       <forward name="edit" path="/jsp/oa/xiaoshou/updateReturnVisit.jsp"/>
       <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
       <forward name="delete" path="/oaReturnVisit.do?action=u_all"/>
    </action>
    <action
      attribute="oaSuitForm"
      input="jsp/oa/xiaoshou/oaSuit.jsp"
      name="oaSuitForm"
      path="/oaSuit"
      scope="request"
      type="com.jlins.struts.action.OaSuitAction"
       >
       <forward name="add" path="/jsp/oa/xiaoshou/onSuit.jsp"/>
       <forward name="save" path="/oaSuit.do?action=u_all"/>
       <forward name="u_all" path="/jsp/oa/xiaoshou/showAllSuit.jsp"/>
       <forward name="show" path="/jsp/oa/xiaoshou/showSuitContent.jsp"/>
       <forward name="edit" path="/jsp/oa/xiaoshou/updateSuit.jsp"/>
       <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
       <forward name="delete" path="/oaSuit.do?action=u_all"/>
    </action>
    <action
      attribute="oaBillForm"
      input="jsp/oa/xiaoshow/oaBill.jsp"
      name="oaBillForm"
      path="/oaBill"
      scope="request"
      type="com.jlins.struts.action.OaBillAction"
      >
      <forward name="add" path="/jsp/oa/xiaoshou/onBill.jsp"/>
      <forward name="save" path="/oaBill.do?action=u_all"/>
      <forward name="u_all" path="/jsp/oa/xiaoshou/showAllBill.jsp"/>
      <forward name="show" path="/jsp/oa/xiaoshou/showBillContent.jsp"/>
      <forward name="edit" path="/jsp/oa/xiaoshou/updateBill.jsp"/>
      <forward name="update" path="/jsp/oa/xiaoshou/success.jsp"/>
      <forward name="delete" path="/oaBill.do?action=u_all"/>
    </action>
  </action-mappings>
   <!-- 自动装载,这里设置了之后在spring中就不需要在配置acton了,而action中相应的注入的类spring框架会自动注入 -->
   <controller processorClass="org.springframework.web.struts.AutowiringRequestProcessor" />
   <message-resources parameter="com.jlins.struts.ApplicationResources" />
</struts-config>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值