📄 10697c79e2b7001b123bd4873ff80526
字号:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<!--
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>
<!-- ==================================== Data Source Configuration -->
<!--
<data-sources>
<data-source>
<set-property
property="autoCommit"
value="false"/>
<set-property
property="description"
value="Example Data Source Configuration"/>
<set-property
property="driverClass"
value="org.postgresql.Driver"/>
<set-property
property="maxCount"
value="4"/>
<set-property
property="minCount"
value="2"/>
<set-property
property="password"
value="mypassword"/>
<set-property
property="url"
value="jdbc:postgresql://localhost/mydatabase"/>
<set-property
property="user"
value="myusername"/>
</data-source>
</data-sources>
-->
<!-- ======================================== Form Bean Definitions -->
<form-beans>
<form-bean name="addclientForm" type="com.gensou.struts.sheji.client.form.AddclientForm" />
<form-bean name="queryclientForm" type="com.gensou.struts.sheji.client.form.QueryclientForm" />
<form-bean name="updateclientForm" type="com.gensou.struts.sheji.client.form.UpdateClientForm" />
<form-bean name="addorderForm" type="com.gensou.struts.sheji.order.form.AddorderForm" />
<form-bean name="addorderentryForm" type="com.gensou.struts.sheji.order.form.addorderentryForm" />
<form-bean name="queryorderForm" type="com.gensou.struts.sheji.order.form.QueryorderForm" />
<form-bean name="upateorderForm" type="com.gensou.struts.sheji.order.form.UpdateOrderForm" />
<form-bean name="addmodelForm" type="com.gensou.struts.sheji.model.form.AddModelForm" />
<form-bean name="querymodelForm" type="com.gensou.struts.sheji.model.form.QeryModelForm" />
<form-bean name="updatemodelForm" type="com.gensou.struts.sheji.model.form.UpdateModelForm" />
<form-bean name="addbluezForm" type="com.gensou.struts.sheji.blueprintZ.form.AddBluezForm" />
<form-bean name="queryblueprintZForm" type="com.gensou.struts.sheji.blueprintZ.form.QueryBlueprintZForm" />
<form-bean name="addblueprintSForm" type="com.gensou.struts.sheji.blueprintS.form.AddBlueprintSForm" />
<form-bean name="queryblueprintSForm" type="com.gensou.struts.sheji.blueprintS.form.QueryBlueprintSForm" />
<form-bean name="addmatterForm" type="com.gensou.struts.sheji.matter.form.AddMatterForm" />
<form-bean name="querymatterForm" type="com.gensou.struts.sheji.matter.form.QueryMatterForm" />
<form-bean name="updatematterForm" type="com.gensou.struts.sheji.matter.form.UpdateMatterForm" />
<form-bean name="addbmxinxiForm" type="com.gensou.struts.bumen.xinxi.form.AddbmxinxiForm" />
<form-bean name="querybmxinxiForm" type="com.gensou.struts.bumen.xinxi.form.QuerybmxinxiForm" />
<form-bean name="updatebmxinxiForm" type="com.gensou.struts.bumen.xinxi.form.UpdatebmxinxiForm" />
<form-bean name="addygxinxiForm" type="com.gensou.struts.yuangong.xinxi.form.AddygxinxiForm" />
<form-bean name="queryygxinxiForm" type="com.gensou.struts.yuangong.xinxi.form.QueryygxinxiForm" />
<form-bean name="updateygxinxiForm" type="com.gensou.struts.yuangong.xinxi.form.UpdateygxinxiForm" />
<form-bean name="addygkaoqinForm" type="com.gensou.struts.yuangong.kaoqin.form.AddygkaoqinForm" />
<form-bean name="queryygkaoqinForm" type="com.gensou.struts.yuangong.kaoqin.form.QueryygkaoqinForm" />
<form-bean name="updateygkaoqinForm" type="com.gensou.struts.yuangong.kaoqin.form.UpdateygkaoqinForm" />
<form-bean name="addyggongziForm" type="com.gensou.struts.yuangong.gongzi.form.AddyggongziForm" />
<form-bean name="queryyggongziForm" type="com.gensou.struts.yuangong.gongzi.form.QueryyggongziForm" />
<form-bean name="updateyggongziForm" type="com.gensou.struts.yuangong.gongzi.form.UpdateyggongziForm" />
<form-bean name="addpeijianForm" type="com.gensou.struts.sheji.peijian.form.AddpeijianForm" />
<form-bean name="querypeijianForm" type="com.gensou.struts.sheji.peijian.form.QuerypeijianForm" />
<form-bean name="updatepeijianForm" type="com.gensou.struts.sheji.peijian.form.UpdatepeijianForm" />
<form-bean name="addporductForm" type="com.gensou.struts.sheji.product.form.AddPorductForm" />
<form-bean name="addPpeijianproductForm" type="com.gensou.struts.sheji.product.form.AddPpeijianForm" />
<form-bean name="addPsucaiForm" type="com.gensou.struts.sheji.product.form.AddPsucaiForm" />
<form-bean name="queryPopedomForm" type="com.gensou.struts.mamage.popedom.form.QueryPopedomForm" />
<form-bean name="addPopedomForm" type="com.gensou.struts.mamage.popedom.form.AddPopedomForm" />
<form-bean name="querysForm" type="com.gensou.struts.mamage.popedom.form.QuerysForm" />
<form-bean name="addPopedomsForm" type="com.gensou.struts.mamage.popedom.form.AddPopedomsForm" />
<form-bean name="addUserForm" type="com.gensou.struts.mamage.user.form.AddUserForm" />
<form-bean name="queryQuanxianzuForm" type="com.gensou.struts.mamage.user.form.QueryQuanxianzuForm" />
<form-bean name="queryUserForm" type="com.gensou.struts.mamage.user.form.QueryUserForm" />
<form-bean name="updateUserForm" type="com.gensou.struts.mamage.user.form.UpdateUserForm" />
<form-bean name="queryproductForm" type="com.gensou.struts.sheji.product.form.QueryProductForm" />
<form-bean name="addStockForm" type="com.gensou.struts.depot.stock.AddStockForm" />
<form-bean name="queryStockForm" type="com.gensou.struts.depot.stock.QueryStockForm" />
<form-bean name="addDrawForm" type="com.gensou.struts.depot.draw.AddDrawForm" />
<form-bean name="queryDrawForm" type="com.gensou.struts.depot.draw.QueryDrawForm" />
<form-bean name="updateproductForm" type="com.gensou.struts.sheji.product.form.UpdateproductForm" />
<form-bean name="passwordForm" type="com.gensou.struts.mamage.password.form.PasswordForm" />
<form-bean name="loginForm" type="com.gensou.struts.mamage.login.form.LoginForm" />
<form-bean name="deptPayForm" type="com.gensou.struts.mamage.deptPay.form.DeptPayForm" />
<form-bean name="queryDeptPayForm" type="com.gensou.struts.mamage.deptPay.form.QueryDeptPayForm" />
<form-bean name="updateDeptpayForm" type="com.gensou.struts.mamage.deptPay.form.UpdateDeptpayForm" />
<form-bean name="addplanForm" type="com.gensou.struts.sheji.plan.form.AddPlanForm" />
<form-bean name="queryplanForm" type="com.gensou.struts.sheji.plan.form.QueryPlanForm" />
<form-bean name="addsucaiplansForm" type="com.gensou.struts.sheji.plan.form.AddsucaiplansForm" />
<form-bean name="addpeijiancaigouForm" type="com.gensou.struts.sheji.plan.form.AddpeijiancaigouForm" />
<form-bean name="buliaocaigouForm" type="com.gensou.struts.sheji.plan.form.BuliaocaigouForm" />
<form-bean name="updatesucaiplanForm" type="com.gensou.struts.sheji.plan.form.UpdatesucaiplanForm" />
<!-- sample form bean descriptor for an ActionForm
<form-bean
name="inputForm"
type="app.InputForm"/>
end sample -->
<!-- sample form bean descriptor for a DynaActionForm
<form-bean
name="logonForm"
type="org.apache.struts.action.DynaActionForm">
<form-property
name="username"
type="java.lang.String"/>
<form-property
name="password"
type="java.lang.String"/>
end sample -->
</form-beans>
<!-- ================================= Global Exception Definitions -->
<global-exceptions>
<!-- sample exception handler
<exception
key="expired.password"
type="app.ExpiredPasswordException"
path="/changePassword.jsp"/>
end sample -->
</global-exceptions>
<!-- =================================== Global Forward Definitions -->
<global-forwards>
<!-- Default forward to "Welcome" action -->
<!-- Demonstrates using index.jsp to forward -->
<forward
name="welcome"
path="/Welcome.do"/>
</global-forwards>
<!-- =================================== Action Mapping Definitions -->
<action-mappings>
<!-- Default "Welcome" action -->
<!-- Forwards to Welcome.jsp -->
<action
path="/Welcome"
type="org.apache.struts.actions.ForwardAction"
parameter="/pages/Welcome.jsp"/>
<action
attribute="addclientForm"
name="addclientForm"
path="/addclient"
scope="request"
type="com.gensou.struts.sheji.client.action.AddclientAction" >
<forward name="addclient" path="/gjsp/sheji/client/addclient.jsp" />
</action>
<action
attribute="queryclientForm"
name="queryclientForm"
path="/queryclient"
scope="request"
type="com.gensou.struts.sheji.client.action.QueryclientAction" >
<forward name="queryclient" path="/gjsp/sheji/client/queryclient.jsp" />
</action>
<action path="/deleteclient" type="com.gensou.struts.sheji.client.action.DeleteclientAction" >
<forward name="deleteclient" path="/queryclient.do" />
</action>
<action
attribute="updateclientForm"
name="updateclientForm"
path="/updateclient"
scope="request"
type="com.gensou.struts.sheji.client.action.UpdateClientAction" >
<forward name="updateclient" path="/gjsp/sheji/client/queryclient.jsp" />
<forward name="errupdateclient" path="/gjsp/sheji/client/updateclient.jsp" />
</action>
<action
attribute="addorderForm"
name="addorderForm"
path="/addorder"
scope="request"
type="com.gensou.struts.sheji.order.action.AddorderAction" >
<forward name="errororder" path="/gjsp/sheji/order/addorder.jsp" />
<forward name="addorder" path="/gjsp/sheji/order/addorderentry.jsp" />
</action>
<action
attribute="addorderentryForm"
name="addorderentryForm"
path="/addorderentry"
scope="request"
type="com.gensou.struts.sheji.order.action.AddorderentryAction" >
<forward name="addorderentry" path="/gjsp/sheji/order/addorderentry.jsp" />
</action>
<action
attribute="queryorderForm"
name="queryorderForm"
path="/queryorder"
scope="request"
type="com.gensou.struts.sheji.order.action.QueryorderAction" >
<forward name="queryorder" path="/gjsp/sheji/order/queryorder.jsp" />
</action>
<action path="/queryorderone" type="com.gensou.struts.sheji.order.action.QueryOrderoneAction" >
<forward name="queryorderone" path="/gjsp/sheji/order/updateorder.jsp" />
</action>
<action
attribute="upateorderForm"
name="upateorderForm"
path="/updateorder"
scope="request"
type="com.gensou.struts.sheji.order.action.UpdateOrderAction" >
<forward name="updateorder" path="/gjsp/sheji/order/queryorder.jsp" />
<forward name="updateorders" path="/gjsp/sheji/order/queryorder.jsp" />
</action>
<action path="/queryorderentry" type="com.gensou.struts.sheji.order.action.QueryOrderEntryAction" >
<forward name="queryorderentry" path="/gjsp/sheji/order/queryorderentry.jsp" />
</action>
<action path="/addorderone" type="com.gensou.struts.sheji.order.action.AddOrderOneAction" >
<forward name="addorderone" path="/gjsp/sheji/order/addorderentry.jsp" />
</action>
<action path="/deleteorder" type="com.gensou.struts.sheji.order.action.DeleteOrderAction" >
<forward name="deleteorder" path="/gjsp/sheji/order/addorderentry.jsp" />
</action>
<action
attribute="addmodelForm"
name="addmodelForm"
path="/addmodel"
scope="request"
type="com.gensou.struts.sheji.model.action.AddModelAction" >
<forward name="addmodel" path="/gjsp/sheji/model/addmodel.jsp" />
</action>
<action
attribute="querymodelForm"
name="querymodelForm"
path="/querymodel"
scope="request"
type="com.gensou.struts.sheji.model.action.QueryModelAction" >
<forward name="querymodel" path="/gjsp/sheji/model/querymodel.jsp" />
</action>
<action
attribute="updatemodelForm"
name="updatemodelForm"
path="/updatemodel"
scope="request"
type="com.gensou.struts.sheji.model.action.UpdateModelAction" >
<forward name="updatemodel" path="/gjsp/sheji/model/querymodel.jsp" />
</action>
<action
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -