ssh2. 相关配置文件
来源:互联网 发布:肥皂水灌肠的浓度算法 编辑:程序博客网 时间:2024/06/11 04:51
web.xml配置文件
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<servlet-name>AxisServlet</servlet-name>
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>hibernateFilter</filter-name>
<filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>hibernateFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- <filter>
<filter-name>wenzhou</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>wenzhou</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping> -->
<!--
<filter>
<filter-name>UEditor</filter-name>
<filter-class>com.ewanshang.wenzhou.filter.UEditorFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>UEditor</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-->
<!-- 指明spring配置文件在何处 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<!-- 加载spring配置文件applicationContext.xml -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener><!--
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
-->
<error-page>
<error-code>404</error-code>
<location>/index.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/index.jsp</location>
</error-page>
<filter>
<filter-name>struts-prepare</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts-prepare</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>struts-execute</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts-execute</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>
Spring配置文件
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
xmlns:tool="http://www.springframework.org/schema/tool" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/tool
http://www.springframework.org/schema/tool/spring-tool.xsd"
default-lazy-init="true" default-autowire="byName">
<!-- 定义扫描路径 -->
<context:component-scan base-package="com.ewanshang"></context:component-scan>
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="com.microsoft.sqlserver.jdbc.SQLServerDriver" />
<property name="url" value="jdbc:sqlserver://192.168.0.113:1433;DatabaseName=wyw" />
<property name="username" value="sa" />
<property name="password" value="wyPwd2015" />
</bean>
<!-- 配置sessionFactory:把数据源注入SessionFactory-->
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
<property name="dataSource" ref="dataSource" />
<property name="hibernateProperties">
<props>
<!-- 指定Hibernate的连接方言 -->
<prop key="hibernate.dialect">org.hibernate.dialect.SQLServerDialect </prop>
<!-- 指定是否显示sql语句 -->
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.format_sql">true</prop>
<prop key="hibernate.use_sql_comments">false</prop>
<!--是否使用查询缓存 -->
<prop key="hibernate.cache.use_second_level_cache">true</prop>
<prop key="hibernate.cache.use_query_cache">false</prop>
<prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
<prop key="hibernate.hbm2ddl.auto">false</prop>
</props>
</property>
<!-- 配置映射文件 -->
<property name="packagesToScan">
<list>
<value>com.ewanshang.wenzhou.po</value>
</list>
</property>
</bean>
<!-- 配置事务管理 :把SessionFactory注入 -->
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<tx:advice id="txAdviceWenZhou" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="save*" read-only="false" />
<tx:method name="update*" read-only="false" />
<tx:method name="delete*" read-only="false" />
<tx:method name="get*" propagation="REQUIRED" read-only="true"
rollback-for="Exception" />
<tx:method name="find*" propagation="REQUIRED" read-only="true"
rollback-for="Exception" />
<tx:method name="query*" propagation="REQUIRED" read-only="true"
rollback-for="Exception" />
<tx:method name="*" read-only="false" />
</tx:attributes>
</tx:advice>
<aop:config proxy-target-class="true">
<!-- 定义切入点:定义service包中任意方法的执行 -->
<aop:pointcut id="WenZhou"
expression="execution(* com.ewanshang.wenzhou.service.*.*(..))" />
<!-- 指定在txAdvice切入点应用txAdvice事务切面 -->
<aop:advisor advice-ref="txAdviceWenZhou" pointcut-ref="WenZhou" />
</aop:config>
</beans>
Struts2配置文件
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<!-- 编码 -->
<constant name="struts.i18n.encoding" value="utf-8"></constant>
<!-- 国际化资源文件 -->
<constant name="struts.custom.i18n.resources" value="applicationResource" />
<!-- 将对象交给spring管理 -->
<constant name="struts.objectFactory" value="spring"></constant>
<!-- 开启使用开发模式,详细错误提示 -->
<constant name="struts.devMode" value="false" />
<!-- 默认后缀名 -->
<constant name="struts.action.extension" value="shtml" />
<constant name="struts.convention.default.parent.package" value="default-package" />
<!-- 最大上传文件大小35M = 1024*35*1000 -->
<constant name="struts.multipart.maxSize" value="35840000" />
<constant name="struts.action.excludePattern" value="/imageWidget/server/upload/jsp/up.jsp" />
<constant name="struts.multipart.saveDir" value="/tmp"/>
<!-- 前台首页 Action -->
<package name="WebZhou" namespace="/" extends="struts-default">
<!-- 配置拦截器 -->
<interceptors>
<interceptor name="Encoding" class="com.ewanshang.wenzhou.filter.SetCharacterEncodingFilter"></interceptor>
<interceptor name="encoding"
class="com.ewanshang.wenzhou.filter.CharacterEncode"></interceptor>
<interceptor name="merchantLogin"
class="com.ewanshang.wenzhou.filter.MerchantLoginInterceptor" />
<interceptor-stack name="merchantStack">
<interceptor-ref name="encoding" />
<interceptor-ref name="Encoding" />
<interceptor-ref name="merchantLogin" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>
<!-- 配置全局result -->
<global-results>
<result name="index">/login.jsp</result>
<result name="login">/login.jsp</result>
<result name="error">/login.jsp</result>
</global-results>
<!-- 主页 -->
<action name="wenzhou_*" class="wenZhou" method="{1}">
<interceptor-ref name="defaultStack" />
<result name="index">login.jsp</result>
</action>
<!-- 配置注册Register Action -->
<action name="register_*" class="registerMerchant" method="{1}">
<result name="index">/index.jsp</result>
<result name="toRegister">/register.jsp</result>
<result name="toRegInfo">/register_merchant.jsp</result>
<result name="bankAccount">/register_account.jsp</result>
<result name="success">/register_success.jsp</result>
</action>
<!-- 配置登录Login Action -->
<action name="login_*" class="login" method="{1}">
<result name="toLogin">/login.jsp</result>
<result name="index">login.jsp</result>
<result name="success" type="redirect">personCenter_index.shtml</result>
</action>
<!-- 配置个人中心 personCenter Action -->
<action name="personCenter_*" class="personCenter" method="{1}">
<interceptor-ref name="merchantStack" />
<result name="toPersonCenter">/person_center.jsp</result>
<result name="toUserInfo">/personCenter_merchantInfo.jsp</result>
<result name="toEditBasicInfo">/personCenter_editBasicInfo.jsp</result>
<result name="toUserAccountInfo">/personCenter_accountInfo.jsp</result>
<result name="toEditAccount">/personCenter_editAccount.jsp</result>
<result name="toEditPwd">/personCenter_editPwd.jsp</result>
<result name="success">/personCenter_updateAccount_success.jsp</result>
<result name="pwdsuccess">/personCenter_editPwd_success.jsp</result>
</action>
<!-- 终端管理 -->
<action name="pos_*" class="PosAction" method="{1}">
<interceptor-ref name="merchantStack" />
<result name="showAll">/posList.jsp</result>
<result name="toAdd">/posAdd.jsp</result>
</action>
<!-- 虚拟账户管理 -->
<action name="account_*" class="accountMerchant" method="{1}">
<interceptor-ref name="merchantStack" />
<result name="showAccount">/accountMessage.jsp</result>
</action>
<!-- 商户小票管理 -->
<action name="ticket_*" class="ticketMerchant" method="{1}">
<interceptor-ref name="merchantStack" />
<result name="showAll">/ticket_list.jsp</result>
<result name="batchUpload">/batchPicture.jsp</result>
</action>
<!-- 商户提现 -->
<action name="cash_*" class="cashMerchant" method="{1}">
<interceptor-ref name="merchantStack" />
<result name="showAll">/cashList.jsp</result>
<result name="toCash">/cash.jsp</result>
<result name="cashBack" type="redirect">cash_showAll.shtml</result>
<result name="cashSuccess">/cash_success.jsp</result>
<result name="showDetail">/cashDetail.jsp</result>
<result name="cashType">/trans/cashType.jsp</result>
<result name="editCashType">/trans/cashEditType.jsp</result>
<result name="editCashTypeSuccess" type="redirect">cash_cashType.shtml</result>
</action>
<!-- 订单打印 -->
<action name="print_*" class="PrintTagAction" method="{1}">
<interceptor-ref name="merchantStack" />
<result name="print">/include/printTag.jsp</result>
</action>
<action name="ajax_*" class="merchantAjax" method="{1}">
</action>
<!-- 修改密码 -->
<action name="find_*" class="passwordAction" method="{1}">
<result name="pwd">/forget_password.jsp</result>
<result name="success">/forget_password2.jsp</result>
<result name="fail" type="redirect">/find_pwd.do</result>
<result name="restSuccess">/rest_passwordSuccess.jsp</result>
<result name="updateMer">/rest_passwordMerchant.jsp</result>
</action>
<!-- 外部同步数据接口 -->
<action name="sync_*" class="syncMerchant" method="{1}">
<interceptor-ref name="merchantStack" />
<result name="showAll">/syncList.jsp</result>
</action>
</package>
<!-- 授权系统 Action -->
<package name="RootManage" namespace="/rt" extends="struts-default">
<!-- 配置拦截器 -->
<interceptors>
<interceptor name="encoding"
class="com.ewanshang.wenzhou.filter.CharacterEncode"></interceptor>
<interceptor name="rootLogin"
class="com.ewanshang.wenzhou.filter.RootUserLoginInterceptor" />
<interceptor-stack name="rootStack">
<interceptor-ref name="encoding" />
<interceptor-ref name="rootLogin" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>
<!-- 配置全局result -->
<global-results>
<result name="login" type="redirect">login_logout.shtml</result>
<result name="error" type="redirect">login_logout.shtml</result>
</global-results>
<!-- 登录 Action -->
<action name="login_*" class="rootLogin" method="{1}">
<interceptor-ref name="defaultStack" />
<result name="login">/root/login.jsp</result>
<result name="loginSuccess">/root/index.jsp</result>
</action>
<!--角色管理-->
<action name="role_*" class="roleRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/roleList.jsp</result>
<result name="add">/root/addRole.jsp</result>
<result name="edit">/root/editRole.jsp</result>
<result name="success" type="redirect">role_showAll.shtml
</result>
</action>
<!-- 机构管理-->
<action name="agen_*" class="agencyRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showBranch">/root/agentList.jsp</result>
<result name="addBranch">/root/addBranchCompany.jsp</result>
<result name="editBranch">/root/editBranchCompany.jsp</result>
<result name="addAgent">/root/addAgency.jsp</result>
<result name="editAgent">/root/editAgency.jsp</result>
<result name="addDealer">/root/addDealer.jsp</result>
<result name="editDealer">/root/editDealer.jsp</result>
<result name="addSuccess" type="redirect">agen_showBranch.shtml</result>
<result name="addUser">/root/addAgentOperator.jsp</result>
<result name="addUserSuccess" type="redirect">user_showBranchOpertor.shtml
</result>
</action>
<!-- 用户管理-->
<action name="user_*" class="userRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/userList.jsp</result>
<result name="showBranchOpertor">/root/operatorList.jsp</result>
<result name="addUser">/root/addUser.jsp</result>
<result name="editUser">/root/editUser.jsp</result>
<result name="addSuccess" type="redirect">user_showAll.shtml</result>
<result name="userLog">/root/userLog.jsp</result>
</action>
<!-- 终端管理-->
<action name="term_*" class="termRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="remarkPos">/root/posRmark.jsp</result>
<result name="showAll">/root/termList.jsp</result>
<result name="showAll_two">/root/termDetail.jsp</result>
<result name="search">/root/termDetailT.jsp</result>
<result name="posCheck">/root/posCheck.jsp</result>
<result name="checkSuccess" type="redirect">term_checkPos.shtml</result>
<!-- 终端导入 -->
<result name="importFile">/root/importFile.jsp</result>
<result name="success" type="redirect">term_showAll.shtml</result>
<!-- 单个终端添加 -->
<result name="add">/root/addTerm.jsp</result>
<result name="toShowAll">term_showAll.shtml</result>
</action>
<!-- 商户管理-->
<action name="merchant_*" class="merchantRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/merchantList.jsp</result>
<result name="merchantDetail"> /root/merchantDetail.jsp</result>
<result name="auditMerchantDetail"> /root/auditMerchantDetail.jsp</result>
<result name="check">/root/merchantCheck.jsp</result>
<result name="checkSuccess" type="redirect">merchant_showAbnormalMerchant.shtml</result>
<result name="abnormalMerchant">/root/manageMerchants.jsp</result>
<result name="manageStautsSuccess" type="redirect">merchant_showAbnormalMerchant.shtml</result>
<result name="manageExitSuccess" type="redirect">merchant_showAll.shtml</result>
<result name="toPart">/root/partTermNo.jsp</result>
<result name="partSuccess" type="redirect">term_showAll.shtml</result>
<result name="manageMerchantNo">/root/manageMerchantNo.jsp</result>
<result name="addMerchantNo">/root/addMerchantNo.jsp</result>
<result name="addSuccess" type="redirect">merchant_manageMerchantNo.shtml
</result>
</action>
<!-- 交易管理-->
<action name="trans_*" class="transRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/transList.jsp</result>
</action>
<!-- 单个插入数据 -->
<action name="insertSync_*" class="insertSync" method="{1}">
<interceptor-ref name="rootStack" />
<result name="add">/root/insertSync.jsp</result>
</action>
<!-- 点数和限额管理-->
<action name="point_*" class="pointRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/pointList.jsp</result>
<result name="showAgentPoint">/root/agentPointList.jsp</result>
<result name="toEdit">/root/editPoint.jsp</result>
<result name="toAgentEdit">/root/editAgentPoint.jsp</result>
<result name="toAgentAdd">/root/addAgentChannel.jsp</result>
<result name="agentEditSuccess" type="redirect">point_showAgentPoint.shtml
</result>
<result name="editSuccess" type="redirect">point_showAll.shtml</result>
<result name="organPoint">/root/organPointList.jsp</result>
<result name="tocheck">/root/editPoint.jsp</result>
<result name="checkSuccess" type="redirect">point_organPoint.shtml
</result>
</action>
<!-- 修改密码 -->
<action name="password_*" class="passwordRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="toEdit">/root/editPassword.jsp</result>
<result name="editSuccess" type="redirect">user_showAll.shtml</result>
</action>
<!-- 银行账户管理 -->
<action name="bankMsg_*" class="bankMsgRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="addAuditBank">/root/addAuditBank.jsp</result>
<result name="addAuditBankDetail">/root/addBankAuditDetail.jsp</result>
<result name="addAuditSuccess" type="redirect">bankMsg_addAuditBank.shtml</result>
<result name="editAuditBank">/root/editAuditBank.jsp</result>
<result name="editAuditBankDetail">/root/editBankAuditDetail.jsp</result>
<result name="editAuditSuccess" type="redirect">bankMsg_editAuditBank.shtml</result>
</action>
<!-- 总部提现管理 -->
<action name="cash_*" class="cashRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/cashList.jsp</result>
<result name="toCash">/root/cash.jsp</result>
<result name="cashSuccess">/root/cash_success.jsp</result>
<result name="checkList">/root/cashCheckList.jsp</result>
<result name="cashNo">/root/cashNoList.jsp</result>
<result name="checkSuccess" type="redirect">cash_showAll.shtml</result>
<result name="showDetail">/root/cashDetail.jsp</result>
<result name="editStatus">/root/editCashStatus.jsp</result>
<result name="cashLimit">/root/cashLimit.jsp</result>
<result name="toEditCashLimit">/root/editCashLimit.jsp</result>
<result name="checkCashMax">/root/cashMaxList.jsp</result>
<result name="cashRecord">/root/cashRecordList.jsp</result>
<result name="cashType">/root/cashType.jsp</result>
<result name="editCashType">/root/cashEditType.jsp</result>
<result name="editCashTypeSuccess" type="redirect">cash_cashType.shtml</result>
</action>
<!--总部账户信息 -->
<action name="company_*" class="companyAcion" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/companyBankList.jsp</result>
<result name="toAdd">/root/companyBankAdd.jsp</result>
<result name="success" type="redirect">company_showAll.shtml</result>
</action>
<action name="ajax_*" class="rootAjax" method="{1}">
</action>
<!-- 订单打印 -->
<action name="print_*" class="PrintTagAction" method="{1}">
<interceptor-ref name="rootStack" />
<result name="print">/include/printTag.jsp</result>
</action>
<!-- 权限信息 -->
<action name="fun_*" class="FunctionRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showCate">/root/funCateList.jsp</result>
<result name="showFun">/root/functionList.jsp</result>
<result name="addFunCate">/root/functionAdd.jsp</result>
<!-- <result name="addFunCate">/root/funCateAdd.jsp</result> -->
<result name="addFunction">/root/functionAdd.jsp</result>
</action>
<!-- 通道信息-->
<action name="channel_*" class="channelRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/channelList.jsp</result>
<result name="toEdit">/root/editChannel.jsp</result>
<result name="toAdd">/root/addChannel.jsp</result>
<result name="editSuccess" type="redirect">channel_showAll.shtml</result>
</action>
<!-- 外部同步数据接口 -->
<action name="sync_*" class="syncAction" method="{1}">
<result name="insertResult">/include/insertResult.jsp</result>
<result name="showAll">/root/syncList.jsp</result>
</action>
<!-- 通道信息-->
<action name="cashItf_*" class="cashItfRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showAll">/root/cashItf.jsp</result>
<result name="edit">/root/editCashItf.jsp</result>
</action>
<!-- 银行提现结果返回 -->
<action name="bankBack_*" class="bankBackAction" method="{1}">
</action>
<!-- 保证金 -->
<action name="limitAmount_*" class="limitAmountRoot" method="{1}">
<interceptor-ref name="rootStack" />
<result name="showMerchant">/root/limitAmount_merchantList.jsp</result>
<result name="toEditMerchant">/root/limitAmount_editMerchant.jsp</result>
<result name="editMerchantSuccess" type="redirect">limitAmount_merchant.shtml</result>
<result name="showTrans">/root/limitAmount_transList.jsp</result>
<result name="toEditTrans">/root/limitAmount_editTrans.jsp</result>
<result name="editTransSuccess" type="redirect">limitAmount_trans.shtml</result>
</action>
</package>
<!-- 交易系统 Action -->
<package name="TransManagePK" namespace="/tr" extends="struts-default">
<!-- 配置拦截器 -->
<interceptors>
<interceptor name="encoding"
class="com.ewanshang.wenzhou.filter.CharacterEncode"></interceptor>
<interceptor name="transLogin"
class="com.ewanshang.wenzhou.filter.TransLoginInterceptor" />
<interceptor-stack name="transStack">
<interceptor-ref name="encoding" />
<interceptor-ref name="transLogin" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>
<!-- 配置全局result -->
<global-results>
<result name="login" type="redirect">login_logout.shtml</result>
<result name="error">login_logout.shtml</result>
</global-results>
<!-- 登录 Action -->
<action name="login_*" class="transLogin" method="{1}">
<interceptor-ref name="defaultStack" />
<result name="login">/trans/login.jsp</result>
<result name="success" >/trans/index.jsp</result>
</action>
<!-- 用户管理-->
<action name="user_*" class="userTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/userList.jsp</result>
<result name="addUser">/trans/addUser.jsp</result>
<result name="editUser">/trans/editUser.jsp</result>
<result name="addSuccess" type="redirect">user_showAll.shtml</result>
<result name="userLog">/trans/userLog.jsp</result>
</action>
<!-- 商户管理 Action -->
<action name="merchant_*" class="merchantMng" method="{1}">
<interceptor-ref name="transStack" />
<result name="allMerchant">/trans/auditMerchant.jsp</result>
<result name="merchantDetail"> /trans/merchantDetail.jsp</result>
<result name="auditMerchantDetail"> /trans/auditMerchantDetail.jsp</result>
<result name="allMerchantDetail">/trans/merchantList.jsp</result>
<result name="showAll" type="redirect">merchant_showMerchant.shtml?flag=audit
</result>
<result name="abnormalMerchant">/trans/manageMerchants.jsp</result>
<result name="manageStautsSuccess" type="redirect">merchant_showAbnormalMerchant.shtml
</result>
<result name="manageMerchantNo">/trans/manageMerchantNo.jsp</result>
<result name="addMerchantNo">/trans/addMerchantNo.jsp</result>
<result name="addSuccess" type="redirect">merchant_manageMerchantNo.shtml</result>
</action>
<!-- 交易管理 Action -->
<action name="tran_*" class="transManage" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/transList.jsp</result>
</action>
<!-- 终端管理 Action -->
<action name="term_*" class="termTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/termList.jsp</result>
<result name="showAll_ter">/trans/termDetail.jsp</result>
<!-- <result name="toPartMerchant">/trans/termMerchantList.jsp</result> -->
<result name="toPartAgent">/trans/termAgentList.jsp</result>
<result name="partAgent">/trans/termAgentPart.jsp</result>
<result name="partAgentSuccess" type="redirect">term_part.shtml?type=1</result>
<result name="toPartMerchant">/trans/termMerchantList.jsp</result>
<result name="partMerchant">/trans/termMerchantPart.jsp</result>
<result name="partMerchantSuccess" type="redirect">term_part.shtml?type=2 </result>
<result name="toPart">/trans/partTermNo.jsp</result>
<result name="partSuccess" type="redirect">term_showAll.shtml</result>
</action>
<!-- 点数和限额管理-->
<action name="point_*" class="pointTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/pointList.jsp</result>
<result name="toEdit">/trans/editPoint.jsp</result>
<result name="toAdd">/trans/addPointChannel.jsp</result>
<result name="editSuccess" type="redirect">/trans/index.jsp</result>
</action>
<!-- 机构管理-->
<action name="agen_*" class="agencyTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="showBranch">/trans/agentList.jsp</result>
<result name="editBranch">/trans/editBranchCompany.jsp</result>
<result name="addAgent">/trans/addAgency.jsp</result>
<result name="editAgent">/trans/editAgency.jsp</result>
<result name="addDealer">/trans/addDealer.jsp</result>
<result name="editDealer">/trans/editDealer.jsp</result>
<result name="addSuccess" type="redirect">agen_showBranch.shtml</result>
</action>
<!-- 修改密码 -->
<action name="password_*" class="passwordTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="toEdit">/trans/editPassword.jsp</result>
<result name="editSuccess" type="redirect">user_showAll.shtml</result>
</action>
<!-- 商户小票 -->
<action name="ticket_*" class="ticketTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/ticket.jsp</result>
</action>
<!-- 银行账户管理 -->
<action name="bankMsg_*" class="bankMsgTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="toAddBank">/trans/addBankMsg.jsp</result>
<result name="addSuccess">/trans/addBankMsg_success.jsp</result>
<result name="toAccountInfo">/trans/accountInfo.jsp</result>
<result name="toEditAccount">/trans/editAccount.jsp</result>
</action>
<!-- 机构商户提现 -->
<action name="cash_*" class="cashTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/cashList.jsp</result>
<result name="toCash">/trans/cash.jsp</result>
<result name="cashSkip" type="redirect">cash_showAll.shtml</result>
<result name="cashSuccess">/trans/cash_success.jsp</result>
<result name="checkList">/trans/cashCheckList.jsp</result>
<result name="checkSuccess" type="redirect">cash_checkList.shtml</result>
<result name="showDetail">/trans/cashDetail.jsp</result>
<result name="cashType">/trans/cashType.jsp</result>
<result name="editCashType">/trans/cashEditType.jsp</result>
<result name="editCashTypeSuccess" type="redirect">cash_cashType.shtml</result>
</action>
<action name="ajax_*" class="transAjax" method="{1}">
</action>
<!-- 订单打印 -->
<action name="print_*" class="PrintTagAction" method="{1}">
<interceptor-ref name="transStack" />
<result name="print">/include/printTag.jsp</result>
</action>
<!--角色管理-->
<action name="role_*" class="roleAction" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/roleList.jsp</result>
<result name="add">/trans/roleAdd.jsp</result>
<result name="edit">/trans/roleEdit.jsp</result>
<result name="success" type="redirect">role_showAll.shtml
</result>
</action>
<!-- 外部同步数据接口 -->
<action name="sync_*" class="syncTrans" method="{1}">
<interceptor-ref name="transStack" />
<result name="showAll">/trans/syncList.jsp</result>
</action>
<!-- -->
</package>
<include file="mobile_struts2.xml"></include>
</struts>
- ssh2. 相关配置文件
- SSH2框架配置文件
- SSH2框架搭建 和 配置文件详解
- SSH2框架搭建 和 配置文件详解
- SSH2框架搭建 和 配置文件详解
- SSH2框架搭建 和 配置文件详解
- SSH2框架搭建 和 配置文件详解
- SSH2框架搭建和配置文件详解
- SSH2框架搭建 和 配置文件详解
- SSH2框架搭建 和 配置文件详解
- SSH2框架搭建 和 配置文件详解
- 配置文件相关
- ssh2
- SSH2
- SSH2
- ssh2
- ssh2
- idea相关 配置文件相关
- UVA - 1347 Tour 双调欧几里得旅行商问题
- linux下如何安装配置redis及主从配置
- 链式运动框架
- mysql免安装版配置
- iOS-项目开发,细节,报错,处理(2)
- ssh2. 相关配置文件
- 赫夫曼编译码器实验报告
- Maximal Square 最大的正方形
- Count Complete Tree Nodes 统计完全二叉树的节点数
- ThumbnailUtils源码
- 实验报告图遍历的演示
- 2015-06-12
- 贝叶斯网络
- Prim最小生成树算法