struts2的struts.properties配置文件详解 LQQhn{[D
p' gv5\u[w
struts.action.extension _88~uYG
The URL extension to use to determine if the request is meant for a Struts action qzyQ2a_p
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7v:;`6Jb
*LhR$(F(
struts.configuration 3~S~)quwP
The org.apache.struts2.config.Configuration implementation class 0!zWXKX
org.apache.struts2.config.Configuration接口名 (nzzX?`nY
a[JgR /E@x
struts.configuration.files %q!nTGU~
A list of configuration files automatically loaded by Struts w5nRgdboy!
struts自动加载的一个配置文件列表 #QB`'2)vw
~lL($rE
struts.configuration.xml.reload l{3utQH-=z
Whether to reload the XML configuration or not &S{F"z
是否加载xml配置(true,false) K4tX4U[Z
&vn9l#\(
struts.continuations.package qjFgy)qV
The package containing actions that use Rife continuations ls5S9R 5
含有actions的完整连续的package名称 xphqgOc12,
!`Wu LhB`
struts.custom.i18n.resources g?`J ,*y
Location of additional localization properties files to load 8,=$>@u
加载附加的国际化属性文件(不包含.properties后缀)
e?7paJ
-/</7I
struts.custom.properties @PI\.y_w
Location of additional configuration properties files to load D'&LwU,o
加载附加的配置文件的位置 ibq@0CR
jL8zH
~,:f,FkSQ
struts.devMode :)z_q!$j
Whether Struts is in development mode or not ^/+sl-6/F
是否为struts开发模式 y\[=#g1(@
BAhC-;B#R
struts.dispatcher.parametersWorkaround 1m0':n Vdu
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P8jK
yo
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) W< n`[
=bDG|:+
struts.enable.DynamicMethodInvocation Q^k#?j#
Allows one to disable dynamic method invocation from the URL }:%pOL n
允许动态方法调用 QJ>>&`{,
DHAWUS6
struts.freemarker.manager.classname |}`5<a!6U
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?Z=v&d[o)
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @2mP
ZeeuH"A
struts.i18n.encoding 8syo_sC |
The encoding to use for localization messages coWB KWF
国际化信息内码 Y[!a82MTzn
Trrh`@R
struts.i18n.reload 3\{Sf /#
Whether the localization messages should automatically be reloaded _a&|,ajy>
是否国际化信息自动加载 P5>CSWy%
j1ZFsTFMWp
struts.locale ]c)SVn$6
The default locale for the Struts application _#C}hwOR>X
默认的国际化地区信息 $<v_Vm?6d
v\ Ljm,+
struts.mapper.class 9zJ`;1
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4i,SiFKB
org.apache.struts2.dispatcher.mapper.ActionMapper接口 zqh{=&Tjx
f[IchCwX
struts.multipart.maxSize }kj6hnQ
The maximize size of a multipart request (file upload) o(P:f)B
multipart请求信息的最大尺寸(文件上传用) Nj0)/)<r+
&wN
2l-
struts.multipart.parser vNC0M:p,
The org.apache.struts2.dispatcher.multipart. yr>bL"!CA
MultiPartRequest parser implementation for a multipart request (file upload) IMza
2
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) mB{{o}'<u
PAHlj,n)
CWp1)%0=
struts.multipart.saveDir W[Bu&?h$
The directory to use for storing uploaded files B5:g{,C
设置存储上传文件的目录夹 :2E1aVo4b
|xVCl<{F%
struts.objectFactory s3{s.55{m
The com.opensymphony.xwork2.ObjectFactory implementation class #ja`+w}
com.opensymphony.xwork2.ObjectFactory接口(spring) )\-";?sYky
pGY]VwY
struts.objectFactory.spring.autoWire `fZD%o3l
Whether Spring should autoWire or not 4Umsc>yfK
是否自动绑定Spring zXZ'nJ5OGG
VA'X!(Cv
struts.objectFactory.spring.useClassCache |A0$XU{
Whether Spring should use its class cache or not y.p6%E_`
是否spring应该使用自身的cache s &hA
Z=@)
struts.objectTypeDeterminer R*Z]
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ulf/C%t,R
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J4"swPf
{~fCqP.2
struts.serve.static.browserCache ]M;6o@hq
If static content served by the Struts filter should set browser caching header properties or not `8;,&<U'`
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l&*)r;9
9K':Fn2,
struts.serve.static eJw="
Whether the Struts filter should serve static content or not ;#s}b1
是否struts过滤器应该提供静态内容 |<-F|v9og
qQOD
struts.tag.altSyntax +RV- VrV
Whether to use the alterative syntax for the tags or not 3g[j%`k
是否可以用替代的语法替代tags T_?nd T2
.3<IOtD=
struts.ui.templateDir .l+~)$
The directory containing UI templates 0^_lj9B!
UI templates的目录夹 NOr
<,
`n`"g<K)Q
struts.ui.theme =HY1l}\
The default UI template theme 0sDwTb"
默认的UI template主题 PKR $I
[OZ=iz.
struts.url.http.port +Y)#yGUn
The HTTP port used by Struts URLs s!ZW'`4!z
设置http端口 zk5=Opmvh
b"M`@';+
struts.url.https.port 3z)"U
The HTTPS port used by Struts URLs x} &a{;
设置https端口 Y^6[[vaj2
QW~5+c9JJ
struts.url.includeParams Mf:M3H%YV+
The default includeParams method to generate Struts URLs l>D-Aan
在url中产生 默认的includeParams ;wXY3|@
8.CKH4h
zD2.Q%`IM
struts.velocity.configfile 9G#8%[W
The Velocity configuration file path _t|G@D{
velocity配置文件路径 3G%wZ,)C
8nIMZV
struts.velocity.contexts 5,
-pBep<
List of Velocity context names 2K]IlsMO&
velocity的context列表 [Iw>|q<e
VJN/#
i)7n c
struts.velocity.manager.classname {b'}:aMc
org.apache.struts2.views.velocity.VelocityManager implementation class ^E$(1><-a
org.apache.struts2.views.velocity.VelocityManager接口名 CYt jY~
-".kH<SWv
struts.velocity.toolboxlocation hIVI\U,
The location of the Velocity toolbox BFMS*t`
velocity工具盒的位置 'u(=eJ@1
struts.xslt.nocache -c+[6A>j
Whether or not XSLT templates should not be cached C}mYt/
是否XSLT模版应该被缓存 E3S%s