📄 20757a9b7825001d172f8a51a2e7ba8c
字号:
<?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="loginForm" type="com.lib.web.struts.form.sysm.LoginForm"/>
<form-bean name="bookForm" type="com.lib.web.struts.form.BookForm"/>
<form-bean name="marcForm" type="com.lib.web.struts.form.MarcForm"/>
<form-bean name="serverForm" type="com.lib.web.struts.form.ServerForm"/>
</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="/sysm/loginForm.jsp" name="loginForm" path="/loginAction" scope="request" type="com.lib.web.struts.action.sysm.LoginAction" validate="true">
<forward name="success" path="/index.jsp" redirect="true"/>
<forward name="fail" path="/error.jsp" redirect="true"/>
</action>
<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/MarcInsert.jsp"/>
</action>
<action input="/bctl/DisBookAdd.jsp" name="bookForm" path="/disAddAction" scope="request" type="com.lib.web.struts.action.DisAddAction" validate="true">
<forward name="success" path="/bctl/DisBookAdd.jsp"/>
</action>
<action input="/bctl/SetNetData.jsp" name="serverForm" path="/serverViewAction" scope="request" type="com.lib.web.struts.action.ServerViewAction" validate="true">
<forward name="success" path="/bctl/SetNetData.jsp"/>
</action>
<action input="/bctl/MarcInsert.jsp" name="bookForm" path="/marcBookViewAction" scope="request" type="com.lib.web.struts.action.MarcBookViewAction" validate="true">
<forward name="success" path="/bctl/MarcBookView.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 input="/bctl/ListPrintView.jsp" name="bookForm" path="/manyPrintAction" scope="request" type="com.lib.web.struts.action.ManyPrintAction" validate="true">
<forward name="success" path="/bctl/MarcBookView.jsp"/>
</action>
<action input="/bctl/BookSearch.jsp" name="bookForm" path="/printSearchAction" scope="request" type="com.lib.web.struts.action.PrintSearchAction" validate="true">
<forward name="one" path="/bctl/OnePrint.jsp"/>
<forward name="many" path="/bctl/ListPrintView.jsp"/>
</action>
<action input="/bctl/BookSearch.jsp" name="bookForm" path="/codePrintSearchAction" scope="request" type="com.lib.web.struts.action.CodePrintSearchAction" validate="true">
<forward name="one" path="/bctl/OneCodePrint.jsp"/>
<forward name="many" path="/bctl/ListCodePrintView.jsp"/>
</action>
<action path="/allBookViewAction" type="com.lib.web.struts.action.AllBookViewAction">
<forward name="success" path="/bctl/AllbookView.jsp"/>
</action>
<action path="/bookViewAction" type="com.lib.web.struts.action.BookViewAction">
<forward name="success" path="/bctl/BookView.jsp"/>
</action>
<action path="/printViewAction" type="com.lib.web.struts.action.PrintViewAction">
<forward name="sign" path="/bctl/OnePrint.jsp"/>
<forward name="code" path="/bctl/OneCodePrint.jsp"/>
</action>
<action input="/bctl/SetNetData.jsp" name="serverForm" path="/serverAddAction" scope="request" type="com.lib.web.struts.action.ServerAddAction" validate="true">
<forward name="success" path="/bctl/SetNetData.jsp"/>
</action>
<action input="/bctl/CheckAdd.jsp" name="bookForm" path="/checkAddAction" scope="request" type="com.lib.web.struts.action.CheckAddAction" validate="true">
<forward name="success" path="/bctl/SetNetData.jsp"/>
</action>
<action path="/bookDelAction" type="com.lib.web.struts.action.BookDelAction">
<forward name="success" path="/allBookViewAction.do"/>
</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 + -