struts2的struts.properties配置文件详解 vCr$miZ
q&x#S_!
struts.action.extension <\
c8q3N
The URL extension to use to determine if the request is meant for a Struts action Wx`IEPsVbk
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。
<T9m.:l
}e|]G,NZO
struts.configuration BE;iC.rW
The org.apache.struts2.config.Configuration implementation class Sv",E@!f
org.apache.struts2.config.Configuration接口名 x/v+7Pt_
<<6#Uz.1
struts.configuration.files =v;@w$#
A list of configuration files automatically loaded by Struts )8PL7P84
struts自动加载的一个配置文件列表 1 .CYs<
AX?6Q4Gq1
struts.configuration.xml.reload wEqCuhZ
Whether to reload the XML configuration or not )f|6=x4
是否加载xml配置(true,false) X ^)5O>>|t
}7^*%$
struts.continuations.package -': tpJk
The package containing actions that use Rife continuations an@Ue7
含有actions的完整连续的package名称 NyNu1V$
Ml
^Tb#
struts.custom.i18n.resources ;B@l0)7(x
Location of additional localization properties files to load ^4i3 #}
加载附加的国际化属性文件(不包含.properties后缀) <ZEll[0L
cQb%bmBc5
struts.custom.properties &-tf/qJ
Location of additional configuration properties files to load ppS`zqq $
加载附加的配置文件的位置 tc Z~T
dDn:^)
/vKDlCH*
struts.devMode -tJ*F!w6U
Whether Struts is in development mode or not kdq55zTc<6
是否为struts开发模式 +/'jX?7x%
=<icHt6s
struts.dispatcher.parametersWorkaround wq#3f#3V
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `MS=/x E
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L|Iq#QX|
YFY)Z7fK
struts.enable.DynamicMethodInvocation Ek6W:Q:@
Allows one to disable dynamic method invocation from the URL ~heF0C_
允许动态方法调用 Uyh#g^r
s.R(3}/
struts.freemarker.manager.classname kzT'
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3&
$E
org.apache.struts2.views.freemarker.FreemarkerManager接口名 TM;)[R@
8jk*N
struts.i18n.encoding dLq!t@?iu>
The encoding to use for localization messages _!ed.h.r:
国际化信息内码 PE>_;k-@k
Z^'; xn
struts.i18n.reload g&
Rk}/F
Whether the localization messages should automatically be reloaded [%pZM.jFO
是否国际化信息自动加载 kW9STN
f~Su F,o@h
struts.locale h2nyP
The default locale for the Struts application 'n=D$j]X
默认的国际化地区信息 o/xE
O=AW
rm7UFMCR6i
struts.mapper.class x0]*'^aA
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $uqlJG#`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 >4c 1VEi
cVMTT]cj1
struts.multipart.maxSize }z[se)s
The maximize size of a multipart request (file upload) 9/Ls3U?
multipart请求信息的最大尺寸(文件上传用) R B!g,u
/"U<0jot
struts.multipart.parser NNT9\JRv_
The org.apache.struts2.dispatcher.multipart. F=#Wfl-o
MultiPartRequest parser implementation for a multipart request (file upload) 2WoB ;=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JQb]mU%?
px*MOHq K
eP)RP6ON{
struts.multipart.saveDir Ez)Go6Q
The directory to use for storing uploaded files Ugn"w E
设置存储上传文件的目录夹 L\UYt\ks
:2?du
struts.objectFactory t?s1@}G^
The com.opensymphony.xwork2.ObjectFactory implementation class #KIHq2:.4
com.opensymphony.xwork2.ObjectFactory接口(spring) >\e11OU0Gy
xc!"?&\*
struts.objectFactory.spring.autoWire Bn.8wMB
Whether Spring should autoWire or not B`vV[w?
是否自动绑定Spring }\@*A1*X2
~HELMS~-
struts.objectFactory.spring.useClassCache Vrnx#j-U
Whether Spring should use its class cache or not [W2k#-%G
是否spring应该使用自身的cache |Bjb
yk=H@`~!
struts.objectTypeDeterminer `
p)#!
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )3 ;S;b
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Mqq7;w@(J
M8h9i2
struts.serve.static.browserCache Nz m
7E]
If static content served by the Struts filter should set browser caching header properties or not I*X|pRD
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 j9Lc2'
<