struts2的struts.properties配置文件详解 1-?i*C
1 mJUlx
struts.action.extension JZ-@za6u
The URL extension to use to determine if the request is meant for a Struts action ^-q{:lx
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <Qih&P9;>
U?f-/@fc
struts.configuration 83R s1}*
The org.apache.struts2.config.Configuration implementation class f|w;u!U(
org.apache.struts2.config.Configuration接口名 AP,ZMpw
E!1\9wzM{
struts.configuration.files ri8=u$!
A list of configuration files automatically loaded by Struts 9MZ)-
struts自动加载的一个配置文件列表 hDB(y4/
K 'l-6JY-
struts.configuration.xml.reload Sxc)~y
Whether to reload the XML configuration or not %\48hSe
是否加载xml配置(true,false) TCRTC0_}k
V;MmPNP|
struts.continuations.package ;a1DIUm'
The package containing actions that use Rife continuations q C cLd7`$
含有actions的完整连续的package名称 [HWVS
|X:`o;Uma
struts.custom.i18n.resources uXFI7vV6P
Location of additional localization properties files to load /mz.HCs
加载附加的国际化属性文件(不包含.properties后缀) Ro9:kEG$
6Y]P7j
struts.custom.properties ,.ivdg(/
Location of additional configuration properties files to load oOND]>
加载附加的配置文件的位置 5)XUT`;'){
_";w*lg}
rrRv 7J&Q
struts.devMode 5?` 4qSUz
Whether Struts is in development mode or not V?
tH/P
是否为struts开发模式 .tG3g:
vFdI?(c-
struts.dispatcher.parametersWorkaround .lb]Xa*n
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kEC^_sO"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "*<vE7
"}xIt)n%;
struts.enable.DynamicMethodInvocation +u$JMp
Allows one to disable dynamic method invocation from the URL Pv2uZH(
允许动态方法调用 q>BJ:_I
i
9:@Xz5
struts.freemarker.manager.classname {f`Y\_r$@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }WFI/W'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 hzM;{g>t
2qE_SSXn
struts.i18n.encoding #N`G2}1J
The encoding to use for localization messages E`JW4)AH
国际化信息内码 R_/;U&R
:$u[1&6
struts.i18n.reload W3!-;l
Whether the localization messages should automatically be reloaded <bhGpLh-E
是否国际化信息自动加载 s(Gs?6}>T
5[X%17&t
struts.locale <t(H+ykh
The default locale for the Struts application .^9khKJ;
默认的国际化地区信息 Pah@d!%A
](R
/4
struts.mapper.class 5<*ES[S
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class J61%a,es
org.apache.struts2.dispatcher.mapper.ActionMapper接口 r-$xLe7a
#$S~QS.g
struts.multipart.maxSize {~O4*2zg;K
The maximize size of a multipart request (file upload) !5De?OXe
multipart请求信息的最大尺寸(文件上传用)
\8C<nh
#n+u>x.O
struts.multipart.parser ~
2Hw\fx
The org.apache.struts2.dispatcher.multipart. HN367j2 e
MultiPartRequest parser implementation for a multipart request (file upload) Ln&~t(7
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z+U -+eG
',`Qx{tQ)
uVD^X*
struts.multipart.saveDir qB_s<cpn>
The directory to use for storing uploaded files ~
i+XVo
设置存储上传文件的目录夹 f9#srIx+
`` g
struts.objectFactory AP>n-Z|
The com.opensymphony.xwork2.ObjectFactory implementation class V*rLGY#
com.opensymphony.xwork2.ObjectFactory接口(spring)
{,Vvm*L/
(kO (R#M
struts.objectFactory.spring.autoWire R- >~MLeK]
Whether Spring should autoWire or not 08jk~$%
是否自动绑定Spring P^F3,'N
\e4AxLP
struts.objectFactory.spring.useClassCache }U'9 d#N
Whether Spring should use its class cache or not 6X A(<1P
是否spring应该使用自身的cache =gSc{ i|
@Hp%4$=
struts.objectTypeDeterminer ,\
1X\
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,rN$ah$CL
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _Cz98VqRk
~v\
W[
struts.serve.static.browserCache zMp vS rc
If static content served by the Struts filter should set browser caching header properties or not t=}]4&Yp
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /"`hz6rIv
u*%mUh
struts.serve.static hx@@[sKF7
Whether the Struts filter should serve static content or not "__)RHH:8
是否struts过滤器应该提供静态内容 u0+F2+ I
L;*7p9
struts.tag.altSyntax %-fXa2
Whether to use the alterative syntax for the tags or not 36co'a4,
是否可以用替代的语法替代tags {_(R?V]w,
tH0x|
struts.ui.templateDir om`B:=+
The directory containing UI templates \Cq4r4'
UI templates的目录夹 ;&|I/MVm
]SAY\;,_
struts.ui.theme qm/>\4eLt
The default UI template theme +@fEw
默认的UI template主题 :](#W@r
h`9 & :zr
struts.url.http.port :+\sKEzL
The HTTP port used by Struts URLs jcJ@A0]
设置http端口 V /\Y(Mxc
,aezMbg
struts.url.https.port FsOJmWZ
The HTTPS port used by Struts URLs `'iO+/;GY
设置https端口 ;lE=7[UJ3X
r$4d4xtK
struts.url.includeParams E7R%G OH
The default includeParams method to generate Struts URLs O{c#&/ .K
在url中产生 默认的includeParams )skpf%g
j<
h1s%
2K/t[.8
struts.velocity.configfile $'>iNMtK{p
The Velocity configuration file path .?APDr"QQH
velocity配置文件路径 <<cezSm
`Mg3P_}=
struts.velocity.contexts l v:GiA"X
List of Velocity context names 'z}9BGR!
velocity的context列表
ZaaBg
4w9=z,
B+Qo{-
struts.velocity.manager.classname !.# g
org.apache.struts2.views.velocity.VelocityManager implementation class `2+TN
org.apache.struts2.views.velocity.VelocityManager接口名 32 j){[PL3
0 5?`W&:9
struts.velocity.toolboxlocation F> Ika=z,
The location of the Velocity toolbox 8VU(+%X
velocity工具盒的位置 =os!^{p7>
struts.xslt.nocache JDa_;bqL
Whether or not XSLT templates should not be cached )O*h79t^Q
是否XSLT模版应该被缓存 y[Dgyt