struts2的struts.properties配置文件详解 i0Q
_f!j
H^;S}<pxW
struts.action.extension _x6E_i-(
The URL extension to use to determine if the request is meant for a Struts action q-
(NZno
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \N+Ta:U1P
ID# qKFFW
struts.configuration <Cu?$
The org.apache.struts2.config.Configuration implementation class e-3pg?M
org.apache.struts2.config.Configuration接口名 O&iYGREO
G D{fXhgk
struts.configuration.files ZM`P~N1?)g
A list of configuration files automatically loaded by Struts a9zph2o-
struts自动加载的一个配置文件列表 x9A
ZS#e)[
iCRw}[[
struts.configuration.xml.reload Sx9:$"3.X
Whether to reload the XML configuration or not I{e^,oc
是否加载xml配置(true,false) vr;Br-8
.y9rM{h}b
struts.continuations.package fhIj+/{_O
The package containing actions that use Rife continuations ~Z6p3#
!o
含有actions的完整连续的package名称 c_$&Uii
p[F=L P
struts.custom.i18n.resources Bye@5D
Location of additional localization properties files to load }"B? 8T@_~
加载附加的国际化属性文件(不包含.properties后缀) m$mY<Q
k5QD5/Ej
struts.custom.properties 'oZn<c`
Location of additional configuration properties files to load kJi&9
加载附加的配置文件的位置 tr9Y1vxo{
{-N90Oe
pkf OM"5'
struts.devMode 2vdQ&H4
Whether Struts is in development mode or not *a,.E6C*
是否为struts开发模式 |4> r"
= #2qX>?
struts.dispatcher.parametersWorkaround 4O_+4yS
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3r:)\E+Q_
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *r,&@UB
<&s)k
struts.enable.DynamicMethodInvocation w[7.@ %^[
Allows one to disable dynamic method invocation from the URL Xe3z6
允许动态方法调用 gq_7_Y/
j /dE6d
struts.freemarker.manager.classname Z F yX@#B9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PT@e),{~o9
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ph12x: @B
4Re@ QOZ
struts.i18n.encoding q\'P1~
The encoding to use for localization messages Jv^cOc
国际化信息内码 G q:4rG|
hf+/kc!>i
struts.i18n.reload _O)2
Whether the localization messages should automatically be reloaded Ms'TC;&PS
是否国际化信息自动加载 4IP\iw#w
j)tCr Py
struts.locale LH/&\k
The default locale for the Struts application @S"pJeP/f
默认的国际化地区信息 a3dzok
#w,WwL!
struts.mapper.class oz0n$`O$/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R!k<l<9q
org.apache.struts2.dispatcher.mapper.ActionMapper接口 R-A'v&=
2u*h*/
struts.multipart.maxSize YUVc9PV)Ws
The maximize size of a multipart request (file upload) 56=K@$L {F
multipart请求信息的最大尺寸(文件上传用) RnA&-\|*
Bw]L2=d
struts.multipart.parser 9p\Hx#^
The org.apache.struts2.dispatcher.multipart. 7hN6IP*so
MultiPartRequest parser implementation for a multipart request (file upload) K[LVT]3 n
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q"LJwV}W
y }&4HrT&
s 9|a2/{
struts.multipart.saveDir @Tfwh/UN
The directory to use for storing uploaded files @>#{WI:"~
设置存储上传文件的目录夹 e8ULf~I
o~o6S=4,}
struts.objectFactory 4&oXy,8LC
The com.opensymphony.xwork2.ObjectFactory implementation class ,+\4
'`
com.opensymphony.xwork2.ObjectFactory接口(spring) *0&4mi8
by|?g8
struts.objectFactory.spring.autoWire 9 yW~79n
Whether Spring should autoWire or not p17|ld`
是否自动绑定Spring tf7v5iG e
<5ft6a2fQ
struts.objectFactory.spring.useClassCache %eJ\d?nw
Whether Spring should use its class cache or not 3r-Vx P 5n
是否spring应该使用自身的cache }}``~
PJK]t7vp
struts.objectTypeDeterminer "ji$@b_\?
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jW1YTQ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <=m
30{;f
]D?# \|
struts.serve.static.browserCache fzRyG-cEpj
If static content served by the Struts filter should set browser caching header properties or not @!":(@3[
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 iFnOl*TC
YV1a3
struts.serve.static ~~xyFT+{F
Whether the Struts filter should serve static content or not 4C,kA+P
是否struts过滤器应该提供静态内容 QxL@'n#5
Sqdc1zC
struts.tag.altSyntax z{`6#
Whether to use the alterative syntax for the tags or not <;z[+6T
是否可以用替代的语法替代tags B-\,2rCC Z
9Q C"Od9H
struts.ui.templateDir ~tg1N^]kV
The directory containing UI templates J})$
UI templates的目录夹 wuIsO;}/9
%$ir a\
sM
struts.ui.theme --
i&"
The default UI template theme \'; t*
默认的UI template主题 |{7e#ww]
nIV.9#~&
struts.url.http.port ;w+:8<mM}a
The HTTP port used by Struts URLs W>}Qer4
设置http端口 Dm|gSv8d,
y$j1?7
struts.url.https.port QIij>!c4
The HTTPS port used by Struts URLs BcZEa^^~os
设置https端口 42Aje
f[JI/H>
struts.url.includeParams d s|8lz,
The default includeParams method to generate Struts URLs ?jNF6z*M6
在url中产生 默认的includeParams w69>tC
fuNl4BU
P[rAJJN/E
struts.velocity.configfile -GDV[Bg
The Velocity configuration file path
rV8(ia
velocity配置文件路径 j*;*Ka w
Z7/vrME6
struts.velocity.contexts m\*&2Na
List of Velocity context names ~:/%/-^
velocity的context列表 ``(}4a
1-6gB@cvQ
;f".'9 l^
struts.velocity.manager.classname }.fL$,7a
org.apache.struts2.views.velocity.VelocityManager implementation class E/wQ+rv
org.apache.struts2.views.velocity.VelocityManager接口名 ,_.@l+BM.
6C:x6'5[
struts.velocity.toolboxlocation kf+JM/
The location of the Velocity toolbox q3c*<n g#
velocity工具盒的位置 Yw~;g:=
struts.xslt.nocache 6?%]odI#
Whether or not XSLT templates should not be cached ]PR|d\O
是否XSLT模版应该被缓存 o5N]((9