struts2的struts.properties配置文件详解 2^~<("+w
B;Nl~Y| \
struts.action.extension ^Yr0@pE
The URL extension to use to determine if the request is meant for a Struts action TAL/a*7\
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vv6$>SU
[\)oo
struts.configuration sKLX [l
The org.apache.struts2.config.Configuration implementation class #gQF'
org.apache.struts2.config.Configuration接口名 rh2LGuo4m
39e;
struts.configuration.files ,p{`pma
A list of configuration files automatically loaded by Struts .F&9.#>
struts自动加载的一个配置文件列表 5OM?3M
MFJE6ei
struts.configuration.xml.reload N5|Rmfo1
Whether to reload the XML configuration or not I^*'.z!4Q
是否加载xml配置(true,false) 1`f_P$&Z_J
@
\.;b9
struts.continuations.package ^s7,_!.Pq
The package containing actions that use Rife continuations !2Dy_U=
含有actions的完整连续的package名称 |ifHSc.j<
>: 0tA{bV
struts.custom.i18n.resources 1,2EhfX|s
Location of additional localization properties files to load [{[N( g&d
加载附加的国际化属性文件(不包含.properties后缀) BOlAm*tFt
i< (s}wg
struts.custom.properties maMHZ\Q
Location of additional configuration properties files to load {hSGv
加载附加的配置文件的位置 nR
\'[~+
)!9Ifk0KH
>(9F
struts.devMode ,7]k fB
Whether Struts is in development mode or not NQTnhiM7$
是否为struts开发模式 u'Q?T7
*E>.)B i
struts.dispatcher.parametersWorkaround [y)FcIK}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lYf+V8{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $<@\-vYvr@
-P=g3Q i
struts.enable.DynamicMethodInvocation p?(L'q"WK
Allows one to disable dynamic method invocation from the URL &Y|Xd4:
允许动态方法调用 x!S;SU
@}F Awv^f
struts.freemarker.manager.classname L/}iy}
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xIbMs4'iEx
org.apache.struts2.views.freemarker.FreemarkerManager接口名 hPm>tV2X
4FeEGySow
struts.i18n.encoding /k\01hc`
The encoding to use for localization messages *xRc *
:0
国际化信息内码 33l>{(y
2H#N{>7
struts.i18n.reload H(+<)qH
Whether the localization messages should automatically be reloaded YZ#V#[j'^
是否国际化信息自动加载 e]+OO
g&
`%K`gYhG1
struts.locale W-2i+g)
The default locale for the Struts application noVa=aU^
默认的国际化地区信息 U SOKDDm
yFIy`9R
struts.mapper.class 'aJgLws*w
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Lrz3
org.apache.struts2.dispatcher.mapper.ActionMapper接口
~m=EM;
XaI;2fMGI
struts.multipart.maxSize tgFJZA
The maximize size of a multipart request (file upload) $Ptk|qFe
multipart请求信息的最大尺寸(文件上传用) W+>wu%[L
A//?6OJx?
struts.multipart.parser ,#u\l>&$
The org.apache.struts2.dispatcher.multipart. i`U:gw
MultiPartRequest parser implementation for a multipart request (file upload) _v5t<_^N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) sOFa!bdPW
JXQPT
,+/zH'U}
struts.multipart.saveDir ;|ub!z9GG
The directory to use for storing uploaded files X'sEE
设置存储上传文件的目录夹 U)jUq_LX
_]#klL
struts.objectFactory Eyh|a.)-
The com.opensymphony.xwork2.ObjectFactory implementation class 8m=Z|"H@
com.opensymphony.xwork2.ObjectFactory接口(spring) 0Vv9BL{
*DeTqO65
struts.objectFactory.spring.autoWire 54p tP
Whether Spring should autoWire or not sLh0&R7
是否自动绑定Spring R|,7d:k
x2wg^$F*oO
struts.objectFactory.spring.useClassCache w*LbH]l<-
Whether Spring should use its class cache or not Evu=M-?
是否spring应该使用自身的cache <zB*'m
K!{5[G
struts.objectTypeDeterminer WnxEu3U
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `"y`AY/N
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _."E%|5
,TC~~EWq
struts.serve.static.browserCache i s"vekC
If static content served by the Struts filter should set browser caching header properties or not "ORzWnE4U
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V2znU
Rq)BssdF
struts.serve.static \3Jq_9Xv
Whether the Struts filter should serve static content or not Eek9|i"p
是否struts过滤器应该提供静态内容 q=c/B(II!
/lD?VE
struts.tag.altSyntax [$\>~nj=
Whether to use the alterative syntax for the tags or not D5]{2z}k
是否可以用替代的语法替代tags -e`;bX_N)
-f>'RI95>
struts.ui.templateDir 1$LI px
The directory containing UI templates CmC0k-%w
UI templates的目录夹 >q( 5ir
[B/0-(?
struts.ui.theme ,"
R>}kPli
The default UI template theme KsdG(.I+ek
默认的UI template主题 a8uYs DS
1p\Ak
struts.url.http.port qc8Ta"
The HTTP port used by Struts URLs Vu]h4S :
设置http端口 SE `l(-tL
&sOM>^SAD
struts.url.https.port E20&hc5 8
The HTTPS port used by Struts URLs Wc'Ehyi;
设置https端口 9;f|EGwZ
: }?{@#Z
struts.url.includeParams ZlR!s!vv
The default includeParams method to generate Struts URLs Aka^e\Y@6*
在url中产生 默认的includeParams 'Ji+c
2w1tK
4,}GyVJFb`
struts.velocity.configfile jMU9{Si
The Velocity configuration file path }B)jq`a?|\
velocity配置文件路径 Vewzo1G2
d'zT:g
struts.velocity.contexts H?:Jq\Ba0
List of Velocity context names -J$g(sikt
velocity的context列表 7kz-V.
kL7^$
?SX_gYe9
struts.velocity.manager.classname n(&*kfk
org.apache.struts2.views.velocity.VelocityManager implementation class 981!2*
org.apache.struts2.views.velocity.VelocityManager接口名 ~mH+DV3
Jp]T9W\
struts.velocity.toolboxlocation XVUf,N,
The location of the Velocity toolbox $L{7%]7QC
velocity工具盒的位置 ^
}#f()
struts.xslt.nocache :R+],m il
Whether or not XSLT templates should not be cached \C/z%Hf7-
是否XSLT模版应该被缓存 k&GHu0z