struts2的struts.properties配置文件详解 ^+w1:C 5
j^.|^q<Y
struts.action.extension 3aw-fuuIb
The URL extension to use to determine if the request is meant for a Struts action 9^7z"*@#
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4k!>JQor
|?v .5|1
struts.configuration T9FGuit9
The org.apache.struts2.config.Configuration implementation class 2y IDyo
org.apache.struts2.config.Configuration接口名 <Uu[nUJ
r:M0#
2
struts.configuration.files RR2M+vQ
A list of configuration files automatically loaded by Struts *4/KK
struts自动加载的一个配置文件列表 dTWcn7C
]?T,J+S
struts.configuration.xml.reload RdB,;Um9f
Whether to reload the XML configuration or not fI,2l
是否加载xml配置(true,false) `(r0+Qx
yU>ucuF
struts.continuations.package d*x&Uh[K
The package containing actions that use Rife continuations .qLXjU
含有actions的完整连续的package名称 Bk]
`n'W
[HhaBy9
struts.custom.i18n.resources u"Mf xW`
Location of additional localization properties files to load g_@b- :$Yq
加载附加的国际化属性文件(不包含.properties后缀) s<;{q+1#
YZAQt*x
struts.custom.properties <qVOd.9c
Location of additional configuration properties files to load b/_u\R
]-'
加载附加的配置文件的位置 kzVK%[/
&oE'|^G
p+228K ;H
struts.devMode .l,]yWwfK
Whether Struts is in development mode or not Y4+iNdd
是否为struts开发模式 *x_e] /}
)X3
|[4R
struts.dispatcher.parametersWorkaround V@+X4`T
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #\ECQF
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8_Z"@
_q4Yq'dI
struts.enable.DynamicMethodInvocation Fr-Vq=j&
Allows one to disable dynamic method invocation from the URL H
vHy{S4
允许动态方法调用 ]F"P3':
ZFtJoGaR
struts.freemarker.manager.classname >U.7>K
V&
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %jJIR88
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q9c*I,Oj
N/[!$B0H@
struts.i18n.encoding nbW.x7
The encoding to use for localization messages \~r_S
国际化信息内码 8?rq{&$t
|n;5D,r0C
struts.i18n.reload lt yhYPS
Whether the localization messages should automatically be reloaded WpOH1[8v
是否国际化信息自动加载 g][n1$%
qC-4X"y+
struts.locale {L
\TO,
The default locale for the Struts application 4&%E?_M
默认的国际化地区信息 36Lf8~d4"h
hOYX
struts.mapper.class <nK@+4EH"o
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~.#57g F"
org.apache.struts2.dispatcher.mapper.ActionMapper接口 (w`_{%T
0>"y)T3
struts.multipart.maxSize oFhBq0@
The maximize size of a multipart request (file upload) aWNjl
multipart请求信息的最大尺寸(文件上传用) S~W;Ld<>fB
3m~,6mQ
struts.multipart.parser Q[FDk63;w
The org.apache.struts2.dispatcher.multipart. I+`>e*:@W
MultiPartRequest parser implementation for a multipart request (file upload) P
F);KQ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2km0
}rnu:7
p&\DG
struts.multipart.saveDir C~^T=IP
The directory to use for storing uploaded files 2Ima15^+F
设置存储上传文件的目录夹 $oJjgA xcZ
#bCUI*N"P
struts.objectFactory %L$?Mey
The com.opensymphony.xwork2.ObjectFactory implementation class 8w#4T:hsuN
com.opensymphony.xwork2.ObjectFactory接口(spring) 4pZKm-dM^
~+,ZD)AKi4
struts.objectFactory.spring.autoWire Ur ol)_3X
Whether Spring should autoWire or not `)kxFD_bH
是否自动绑定Spring aiZZz1C
7V5kYYR^F
struts.objectFactory.spring.useClassCache n'?]_z<
Whether Spring should use its class cache or not #GfM^sK
是否spring应该使用自身的cache wKoar
6B Hdc
struts.objectTypeDeterminer >[~`rOU*|Y
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ztAC3,r]
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ulk/I-y
:fUNc^\2
struts.serve.static.browserCache ?m9=Me
If static content served by the Struts filter should set browser caching header properties or not ,|]k4F
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I,"q:QS+
] VEc9?
struts.serve.static 9!0-~,o
Whether the Struts filter should serve static content or not vP_mS 4X
是否struts过滤器应该提供静态内容 Xc&J.Tw#4*
'Tskx
struts.tag.altSyntax LoSrXK~0~J
Whether to use the alterative syntax for the tags or not LMN`<R(q]
是否可以用替代的语法替代tags YRv}w3yQ
QWWI
struts.ui.templateDir vbtjPse
The directory containing UI templates eT?vZH[N
UI templates的目录夹 )`2ncb
-
^Y\'y2
struts.ui.theme :G=ol2Q
The default UI template theme |oQhtk8.
默认的UI template主题 m 0Uu2Z4
JdUI:(
struts.url.http.port 9H53H"5q
The HTTP port used by Struts URLs VMS3Q)Ul
设置http端口 a/rQ@ c>
'R#MH
struts.url.https.port +i}uRO
The HTTPS port used by Struts URLs MlLM
$Y-@
设置https端口 ,Ww.W'#P
bIzBY+P
struts.url.includeParams Fh&USn"
The default includeParams method to generate Struts URLs y'<5P~W!a
在url中产生 默认的includeParams P,#l~ \
s!]QG
LG{50sP`
struts.velocity.configfile $O fZp<M
The Velocity configuration file path z~i>GN_
velocity配置文件路径 .4Mc4'
0LTsWCUQ6e
struts.velocity.contexts a=sd&](_
List of Velocity context names vrh2}biCR
velocity的context列表 U.=TjCW
U} Pr1
#%/Jr 52<
struts.velocity.manager.classname mi@uX@ #
org.apache.struts2.views.velocity.VelocityManager implementation class Moi>Dp
org.apache.struts2.views.velocity.VelocityManager接口名 S2 P9C"
LaL{
^wP
struts.velocity.toolboxlocation rKTc6h:)
The location of the Velocity toolbox f:AfM f>m
velocity工具盒的位置 X|4Kdi.r@
struts.xslt.nocache tiRi_
Whether or not XSLT templates should not be cached J/rF4=j%xy
是否XSLT模版应该被缓存 <"S`ZOn