⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 506e36cf180d001d16c8d179a3e178be

📁 实训时做的物流系统
💻
字号:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
     This is a blank Struts configuration file with an example
     welcome action/page and other commented sample elements.

     Tiles and the Struts Validator are configured using the factory defaults
     and are ready-to-use.

     NOTE: If you have a generator tool to create the corresponding Java classes
     for you, you could include the details in the "form-bean" declarations.
     Otherwise, you would only define the "form-bean" element itself, with the
     corresponding "name" and "type" attributes, as shown here.
-->
<struts-config>
  <form-beans>
    <form-bean name="bookForm" type="com.lib.web.struts.form.BookForm"/>
    <form-bean name="marcForm" type="com.lib.web.struts.form.MarcForm"/>
  </form-beans>
  <global-exceptions/>
  <global-forwards>
    <forward name="welcome" path="/Welcome.do"/>
  </global-forwards>
  <action-mappings>
    <action forward="/pages/Welcome.jsp" path="/Welcome"/>
    <action input="/bctl/LocalBookAdd.jsp" name="bookForm" path="/bookAddAction" scope="request" type="com.lib.web.struts.action.BookAddAction" validate="true">
      <forward name="success" path="/allBookViewAction.do"/>
    </action>
    <action input="/bctl/BookView.jsp" name="bookForm" path="/bookUpdateAction" scope="request" type="com.lib.web.struts.action.BookUpdateAction" validate="true">
      <forward name="success" path="/allBookViewAction.do"/>
    </action>
    <action input="/bctl/MarcInsert.jsp" name="marcForm" path="/marcInsertAction" scope="request" type="com.lib.web.struts.action.MarcInsertAction" validate="true">
      <forward name="success" path="/bctl/MarcView.jsp"/>
    </action>
    <action path="/allBookViewAction" type="com.lib.web.struts.action.AllBookViewAction">
      <forward name="success" path="/bctl/AllbookView.jsp"/>
    </action>
    <action input="/bctl/AllbookView.jsp" name="bookForm" path="/bookSearchAction" scope="request" type="com.lib.web.struts.action.BookSearchAction" validate="true">
      <forward name="one" path="/bctl/BookView.jsp"/>
      <forward name="many" path="/bctl/ListBookView.jsp"/>
    </action>
    <action  path="/bookViewAction" type="com.lib.web.struts.action.BookViewAction">
      <forward name="success" path="/bctl/BookView.jsp"/>
    </action>
   <action  path="/bookDelAction" type="com.lib.web.struts.action.BookDelAction">
      <forward name="success" path="/bctl/allbookView.jsp"/>
    </action>
  </action-mappings>
  <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
  <message-resources parameter="MessageResources"/>
  <plug-in className="org.apache.struts.tiles.TilesPlugin">
    <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
    <set-property property="moduleAware" value="true"/>
  </plug-in>
  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
  </plug-in>
</struts-config>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -