struts2的struts.properties配置文件详解 _j0xL{&&
Y{#*;p*I
struts.action.extension P{_%p<:V
The URL extension to use to determine if the request is meant for a Struts action >b5 ;I1o=y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zF{~Md1
vx' ] ;
struts.configuration +Ig%h[1a
The org.apache.struts2.config.Configuration implementation class aot2F60J,
org.apache.struts2.config.Configuration接口名 @V5i
@H~oOf
struts.configuration.files `"yxmo*0
A list of configuration files automatically loaded by Struts 9^?muP<A
struts自动加载的一个配置文件列表 JZ5 ";*,
birc&<
struts.configuration.xml.reload -U
A &Zt
Whether to reload the XML configuration or not JXq!v:w6
是否加载xml配置(true,false) ~jHuJ`]DF
N81M9#,["~
struts.continuations.package I^u~r.
The package containing actions that use Rife continuations Kr1Y3[iNv
含有actions的完整连续的package名称 oz,.gP%
Buh}+n2]5
struts.custom.i18n.resources `^'fS@VA
Location of additional localization properties files to load BOcD?rrZ0
加载附加的国际化属性文件(不包含.properties后缀) -KfK~P3PF
4e AMb
struts.custom.properties >b=."i
Location of additional configuration properties files to load ONDO
xXs
加载附加的配置文件的位置 G%>[7 ]H
Wq5}LO)
/^\E:(RH
struts.devMode +r;t]
Whether Struts is in development mode or not tCGx]\
是否为struts开发模式 &k)v/
FPF$~ sX
struts.dispatcher.parametersWorkaround /3SEu(d!
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N!wuBRWR
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _`^AgRE
pnz: <V"Y(
struts.enable.DynamicMethodInvocation :FHEq~4
Allows one to disable dynamic method invocation from the URL rWDD$4y
允许动态方法调用 =jS$piw.
_O'!C!K6
struts.freemarker.manager.classname { gs$pBu
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~x<?Pj
org.apache.struts2.views.freemarker.FreemarkerManager接口名 "M /Cl|z
p8)R#QWz9
struts.i18n.encoding oaPWeM+
The encoding to use for localization messages 5G(dvM-n
国际化信息内码 Yo'Y-h#
|mHf7gCX
struts.i18n.reload oD\t4]?E
Whether the localization messages should automatically be reloaded 2Vf242z_
是否国际化信息自动加载 @n.n[zb\|
i|AWaG)
struts.locale Aaq%'07ihW
The default locale for the Struts application I=<Qpd4
默认的国际化地区信息 i '*!c
n^hkH1vY
struts.mapper.class ZS(%!+ M
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <DR!AR)
org.apache.struts2.dispatcher.mapper.ActionMapper接口 oPni4^g i
/VufL+q1
struts.multipart.maxSize *>mjUT}cP
The maximize size of a multipart request (file upload) "-X8
multipart请求信息的最大尺寸(文件上传用) \#VWZ\M8a
p}pd&ut1
struts.multipart.parser \9`
~9#P
The org.apache.struts2.dispatcher.multipart. 7qUg~GJX
MultiPartRequest parser implementation for a multipart request (file upload) tD}-&"REP
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y`eF9Im,
n^l*oEl
qGMU>J.;c
struts.multipart.saveDir P!IA;i
The directory to use for storing uploaded files UQ;2g\([
设置存储上传文件的目录夹 +75"Q:I
Kb{&a
struts.objectFactory :):vB
The com.opensymphony.xwork2.ObjectFactory implementation class AzZhIhWl">
com.opensymphony.xwork2.ObjectFactory接口(spring) r4K9W90
h^Yh~84T
struts.objectFactory.spring.autoWire T8|?mVv s
Whether Spring should autoWire or not 'kC#GTZi
是否自动绑定Spring _D?/$D7u#%
K\;4;6g
struts.objectFactory.spring.useClassCache Qb>("j~Z
Whether Spring should use its class cache or not n w`rH*
是否spring应该使用自身的cache L?j<KW
HK<S|6B7V
struts.objectTypeDeterminer hHVAN3e
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \$DBtq5=
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .$W}
G/},lUzLg
struts.serve.static.browserCache gzSm=6Qw0
If static content served by the Struts filter should set browser caching header properties or not +6jGU'}[
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中
q. Jx|x
Ij.mLO]
struts.serve.static I ZLCwaW
Whether the Struts filter should serve static content or not ip}%Y6Wj
是否struts过滤器应该提供静态内容 9e>2kd
mk!8>XvM
struts.tag.altSyntax SSE,G!@
Whether to use the alterative syntax for the tags or not 5WRqeSGh
是否可以用替代的语法替代tags <D)@;A
DBcR1c&<H
struts.ui.templateDir {Ke
IYjE
The directory containing UI templates Vn{;8hZ:a
UI templates的目录夹 Pp69|lxV=k
&1^~G0Rh\
struts.ui.theme CPcUB4a%#
The default UI template theme GeB&S!F
默认的UI template主题 _ eBNbO_J
Y:m8UnT
struts.url.http.port L&:A59)1k
The HTTP port used by Struts URLs 2
V \hG?<
设置http端口 4 Sk@ v
W1xPK*
struts.url.https.port P{`fav
The HTTPS port used by Struts URLs )zz{~Cf
设置https端口 PZZPx<?N
7SYe:^Dx
struts.url.includeParams d#bg(y\G|
The default includeParams method to generate Struts URLs Bd=K40Z:
在url中产生 默认的includeParams o_Y?s+~i[/
&Fuk+Cu{
VbJE zl
struts.velocity.configfile 3PRU
The Velocity configuration file path *9=}f;~
velocity配置文件路径 CW8YNJ'
AU%Yr6
struts.velocity.contexts p=x&X~
List of Velocity context names !J<0.nO/:
velocity的context列表 4[;}/-
b 1Wz
[]
"bn9
+
struts.velocity.manager.classname )t-P o'RW
org.apache.struts2.views.velocity.VelocityManager implementation class r<srTHGLo
org.apache.struts2.views.velocity.VelocityManager接口名 ^*$!9~
IV':sNV
struts.velocity.toolboxlocation 9lGa*f)
The location of the Velocity toolbox X_D-K F
velocity工具盒的位置 f]?&R c2C
struts.xslt.nocache 06.8m;{N
Whether or not XSLT templates should not be cached KOXG=P0
是否XSLT模版应该被缓存 &K[~Ab_