You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB
XML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.devMode" value="false" />
<constant name="struts.i18n.reload" value="true" />
<constant name="struts.configuration.xml.reload" value="true" />
<constant name="struts.objectFactory" value="spring" />
<constant name="struts.ui.theme" value="simple" />
<constant name="struts.i18n.encoding" value="GBK" />
<constant name="struts.enable.DynamicMethodInvocation" value="true" />
<!-- 单位为字节,若多个文件上传指总的文件大小,这里的大小为5M -->
<constant name="struts.multipart.maxSize" value="5242880" />
<constant name="struts.custom.i18n.resources" value="/config/hstbusiness" />
<!-- 定义默认的json包系统中用到json提交的action都继承此包该包为系统默认提供日志和异常拦截器 -->
<package name="basebusiness-json" extends="json-default">
<interceptors>
<interceptor name="hstLogger" class="com.hst.framework.interceptor.HstIntegratedLoggerInterceptor" />
<interceptor name="hstExceptioner" class="com.hst.framework.interceptor.HstIntegratedExceptionInterceptor" />
<interceptor-stack name="hstStack">
<interceptor-ref name="hstLogger" />
<interceptor-ref name="hstExceptioner" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="hstStack" />
<global-results>
<result name="download">/common/download.jsp</result>
<result name="error">/common/service_error.jsp</result>
</global-results>
</package>
</struts>