📄 struts-config.txt
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources>
<!--<data-source key="org.apache.struts.action.DATA_SOURCE">
<set-property property="autoCommit" value="true"/>
<set-property property="description" value="Database for exapmle app"/>
<set-property property="driverClass" value="org.gjt.mm.mysql.Driver"/>
<set-property property="maxCount" value="20"/>
<set-property property="minCount" value="4"/>
<set-property property="url" value="jdbc:mylserver://127.0.0.1;DatabaseName=shop;SelectMethod=cursor"/>
<set-property property="user" value="root"/>
<set-property property="password" value=""/>-->
</data-sources>
<form-beans>
<form-bean name="photoForm" type="com.keyshop.pub.controller.PhotoForm"/>
<form-bean name="userForm" type="com.keyshop.shop.user.controller.UserForm"/>
<form-bean name="userLevelForm" type="com.keyshop.shop.user.controller.UserLevelForm"/>
<form-bean name="userSearchForm" type="com.keyshop.shop.user.controller.UserForm"/>
<form-bean name="userLevelSearchForm" type="com.keyshop.shop.user.controller.UserLevelForm"/>
<form-bean name="productForm" type="com.keyshop.shop.product.controller.ProductForm"/>
<form-bean name="popproductSearchForm" type="com.keyshop.shop.product.controller.ProductForm"/>
<form-bean name="productSearchForm" type="com.keyshop.shop.product.controller.ProductForm"/>
<form-bean name="providerProductForm" type="com.keyshop.shop.product.controller.ProviderProductForm"/>
<form-bean name="providerProductSearchForm" type="com.keyshop.shop.product.controller.ProviderProductForm"/>
<form-bean name="channelproductSearchForm" type="com.keyshop.shop.product.controller.ProductForm"/>
<form-bean name="productCategorySearchForm" type="com.keyshop.shop.product.controller.ProductCategoryForm"/>
<form-bean name="productCategoryForm" type="com.keyshop.shop.product.controller.ProductCategoryForm"/>
<form-bean name="productTemplateForm" type="com.keyshop.shop.product.controller.ProductTemplateForm"/>
<form-bean name="productTemplateSearchForm" type="com.keyshop.shop.product.controller.ProductTemplateForm"/>
<form-bean name="pmcCategoryForm" type="com.keyshop.shop.product.controller.ProductCategoryForm"/>
<form-bean name="pmcRelationTreeForm" type="com.keyshop.shop.product.controller.ProductCategoryForm"/>
<form-bean name="pmcRelationForm" type="com.keyshop.shop.product.controller.ProductCategoryRelationForm"/>
<form-bean name="productRelationForm" type="com.keyshop.shop.product.controller.ProductRelationForm"/>
<form-bean name="productRelationSearchForm" type="com.keyshop.shop.product.controller.ProductRelationForm"/>
<form-bean name="providerProductTreeForm" type="com.keyshop.shop.product.controller.ProductCategoryForm"/>
<form-bean name="productCommandForm" type="com.keyshop.shop.product.controller.ProductCommandForm"/>
<form-bean name="fgmessageBoardForm" type="com.keyshop.shop.content.controller.MessageBoardForm"/>
<form-bean name="messageBoardForm" type="com.keyshop.shop.content.controller.MessageBoardForm"/>
<!--Channel Start-->
<form-bean name="adContentSearchForm" type="com.keyshop.shop.channel.controller.AdContentForm"/>
<form-bean name="adContentForm" type="com.keyshop.shop.channel.controller.AdContentForm"/>
<form-bean name="channelSearchForm" type="com.keyshop.shop.channel.controller.ChannelForm"/>
<form-bean name="channelForm" type="com.keyshop.shop.channel.controller.ChannelForm"/>
<form-bean name="channelConfigForm" type="com.keyshop.shop.channel.controller.ChannelConfigForm"/>
<form-bean name="channelConfigSearchForm" type="com.keyshop.shop.channel.controller.ChannelConfigForm"/>
<!--Channel End-->
<!--FG Start-->
<form-bean name="baseInfoForm" type="com.keyshop.pub.controller.BaseInfoForm"/>
<form-bean name="fgProductForm" type="com.keyshop.shop.product.controller.ProductForm"/>
<form-bean name="fgProductSearchForm" type="com.keyshop.shop.product.controller.ProductForm"/>
<!--FG Start-->
<form-bean name="payTypeForm" type="com.keyshop.shop.order.controller.PayTypeForm"/>
<form-bean name="payTypeSearchForm" type="com.keyshop.shop.order.controller.PayTypeForm"/>
<form-bean name="orderForm" type="com.keyshop.shop.order.controller.OrderForm"/>
<form-bean name="orderSearchForm" type="com.keyshop.shop.order.controller.OrderForm"/>
<form-bean name="shipTypeForm" type="com.keyshop.shop.order.controller.ShipTypeForm"/>
<form-bean name="shipTypeSearchForm" type="com.keyshop.shop.order.controller.ShipTypeForm"/>
<form-bean name="fguserForm" type="com.keyshop.shop.user.controller.UserForm"/>
<form-bean name="speeduserForm" type="com.keyshop.shop.user.controller.UserForm"/>
<form-bean name="userRegForm" type="com.keyshop.shop.user.controller.UserForm"/>
<form-bean name="searchPasswordForm" type="com.keyshop.shop.user.controller.SearchPasswordForm"/>
<form-bean name="cartForm" type="com.keyshop.shop.order.controller.CartManagerForm"/>
<form-bean name="fgorderForm" type="com.keyshop.shop.order.controller.OrderForm"/>
<form-bean name="fgorderSearchForm" type="com.keyshop.shop.order.controller.OrderForm"/>
<form-bean name="fggroupStockForm" type="com.keyshop.shop.order.controller.GroupStockForm"/>
<form-bean name="groupStockSearchForm" type="com.keyshop.shop.order.controller.GroupStockForm"/>
<form-bean name="adLinkForm" type="com.keyshop.shop.content.controller.AdLinkForm"/>
<form-bean name="adLinkSearchForm" type="com.keyshop.shop.content.controller.AdLinkForm"/>
<form-bean name="contentForm" type="com.keyshop.shop.content.controller.ContentForm"/>
<form-bean name="contentSearchForm" type="com.keyshop.shop.content.controller.ContentForm"/>
<form-bean name="fgcontentForm" type="com.keyshop.shop.content.controller.ContentForm"/>
<form-bean name="fgOOSForm" type="com.keyshop.shop.order.controller.OOSForm"/>
<form-bean name="OOSSearchForm" type="com.keyshop.shop.order.controller.OOSForm"/>
<form-bean name="fgproductAppraisalForm" type="com.keyshop.shop.product.controller.ProductAppraisalForm"/>
<form-bean name="productAppraisalForm" type="com.keyshop.shop.product.controller.ProductAppraisalForm"/>
<form-bean name="managerForm" type="com.keyshop.shop.system.controller.ManagerForm"/>
<form-bean name="managerLoginForm" type="com.keyshop.shop.system.controller.ManagerForm"/>
<form-bean name="acLogSearchForm" type="com.keyshop.shop.system.controller.AcLogForm"/>
<form-bean name="providerLoginForm" type="com.keyshop.shop.system.controller.ProviderForm"/>
<form-bean name="managerSearchForm" type="com.keyshop.shop.system.controller.ManagerForm"/>
<form-bean name="providerForm" type="com.keyshop.shop.system.controller.ProviderForm"/>
<form-bean name="providerLoginForm" type="com.keyshop.shop.system.controller.ProviderForm"/>
<form-bean name="providerSearchForm" type="com.keyshop.shop.system.controller.ProviderForm"/>
<form-bean name="systemConfigForm" type="com.keyshop.shop.system.controller.SystemConfigForm"/>
<form-bean name="inquisitionForm" type="com.keyshop.shop.content.controller.InquisitionForm"/>
<form-bean name="inquisitionSearchForm" type="com.keyshop.shop.content.controller.InquisitionForm"/>
<form-bean name="orderProductStatForm" type="com.keyshop.shop.order.controller.OrderProductStatForm"/>
<form-bean name="orderStatForm" type="com.keyshop.shop.order.controller.OrderStatForm"/>
<form-bean name="userOrderIntegralForm" type="com.keyshop.shop.user.controller.UserOrderIntegralForm"/>
<form-bean name="userOrderIntegralSearchForm" type="com.keyshop.shop.user.controller.UserOrderIntegralForm"/>
<!--FG End-->
</form-beans>
<global-forwards>
<forward name="fail" path="/bg/pub/fail.jsp" />
<forward name="syserr" path="/bg/pub/syserr.jsp" />
<forward name="success" path="/bg/pub/success.jsp" />
<forward name="error" path="/bg/pub/error.jsp" />
<forward name="loginoff" path="/bg/login.jsp" />
<forward name="loginsuccess" path="/bg/system/loginsuccess.jsp" />
<forward name="providerloginoff" path="/provider/login.jsp" />
<forward name="providerloginsuccess" path="/provider/provider/loginsuccess.jsp" />
<forward name="adminlogin" path="/admin/relogin.jsp" />
<forward name="relogin" path="/bg/pub/reLogin.jsp" />
<forward name="index" path="/index.jsp" />
</global-forwards>
<action-mappings>
<action input="/jsp/system/messageBoardRe.jsp" name="fgmessageBoardForm" path="/fg/content/messageBoard" scope="session" type="com.keyshop.shop.content.controller.MessageBoardAction">
<forward name="add" path="/fg/content/messageBoardAdd.jsp"/>
</action>
<action input="/bg/content/messageBoardRe.jsp" name="messageBoardForm" path="/bg/content/messageBoard" scope="session" type="com.keyshop.shop.content.controller.MessageBoardAction">
<forward name="Re" path="/bg/content/messageBoardRe.jsp"/>
<forward name="list" path="/bg/content/messageBoardRe.jsp"/>
</action>
<action input="/bg/user/userList.jsp" name="userForm" path="/bg/user/user" scope="request" type="com.keyshop.shop.user.controller.UserAction">
<forward name="add" path="/bg/user/userAdd.jsp"/>
<forward name="edit" path="/bg/user/userAdd.jsp"/>
</action>
<action input="/bg/user/userLevelAdd.jsp" name="userLevelForm" path="/bg/user/userLevel" scope="request" type="com.keyshop.shop.user.controller.UserLevelAction">
<forward name="add" path="/bg/user/userLevelAdd.jsp"/>
<forward name="edit" path="/bg/user/userLevelAdd.jsp"/>
</action>
<action input="/bg/user/userLevelList.jsp" name="userLevelSearchForm" path="/bg/user/userLevelSearch" scope="session" type="com.keyshop.shop.user.controller.UserLevelAction">
<forward name="list" path="/bg/user/userLevelList.jsp"/>
<forward name="add" path="/bg/user/userLevelAdd.jsp"/>
<forward name="edit" path="/bg/user/userLevelAdd.jsp"/>
</action>
<action input="/bg/user/userOrderIntegralAdd.jsp" name="userOrderIntegralForm" path="/bg/user/userOrderIntegral" scope="request" type="com.keyshop.shop.user.controller.UserOrderIntegralAction">
<forward name="add" path="/bg/user/userOrderIntegralAdd.jsp"/>
<forward name="reduce" path="/bg/user/userOrderIntegralReduce.jsp"/>
</action>
<action input="/bg/user/userOrderIntegralList.jsp" name="userOrderIntegralSearchForm" path="/bg/user/userOrderIntegralSearch" scope="request" type="com.keyshop.shop.user.controller.UserOrderIntegralAction">
<forward name="list" path="/bg/user/userOrderIntegralList.jsp"/>
</action>
<action input="/bg/user/userList.jsp" name="userSearchForm" path="/bg/user/userSearch" scope="session" type="com.keyshop.shop.user.controller.UserAction">
<forward name="list" path="/bg/user/userList.jsp"/>
<forward name="add" path="/bg/user/userAdd.jsp"/>
<forward name="edit" path="/bg/user/userAdd.jsp"/>
</action>
<!--product action startadd by HuanXu @2004-05-20-->
<action input="/bg/product/productList.jsp" name="productForm" path="/bg/product/product" scope="session" type="com.keyshop.shop.product.controller.ProductAction">
<forward name="list" path="/bg/product/productList.jsp"/>
<forward name="search" path="/bg/product/productList.jsp"/>
<forward name="add" path="/bg/product/productAdd.jsp"/>
<forward name="edit" path="/bg/product/productAdd.jsp"/>
<forward name="qiantaiview" path="/bg/product/productqiantaiView.jsp"/>
<forward name="view" path="/bg/product/productView.jsp"/>
<forward name="print" path="/bg/product/productPrintList.jsp"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -