<struts>
<constant name="struts.action.extension" value="do,action" />
<!-- .do等为访问扩展名 -->
<constant name="struts.enable.SlashesInActionNames" value="true" /> <!-- action名可以有'/'字符 -->
<constant name="struts.objectFactory" value="spring" />
<!-- 以spring代理 创建对像-->
<constant name="struts.devMode" value="true" />
<!-- 是否使用开发模式 出错时显示更多、更友好的出错提示-->
<constant name="struts.i18n.reload" value="true" />
<!-- 是否使用开发模式 出错时显示更多、更友好的出错提示-->
<constant name="struts.configuration.xml.reload" value="true" />
<constant name="struts.serve.static.browserCache" value="false" />
<package name="default" namespace="/" extends="struts-default">
<!--
<action name="getSeq" class="loginAction">
<result name="getSeq">index.jsp</result>
</action>
-->
</package>
<!-- 引入各模块struts2配置文件 -->
<include file="struts/struts-payment.xml"></include>
</struts>
<struts>
<constant name="struts.action.extension" value="do,action" />
<constant name="struts.enable.SlashesInActionNames" value="true" />
<constant name="struts.objectFactory" value="spring" />
<constant name="struts.i18n.encoding" value="UTF-8" />
<include file="struts/struts-cb.xml"></include>
</struts>