struts2的struts.properties配置文件详解 %/oeV;D
xL [3R
struts.action.extension x7GYWK
9
The URL extension to use to determine if the request is meant for a Struts action ]w0_!Z&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [2{2w68D!
p~WX\;
struts.configuration "^Vnnb:Z*o
The org.apache.struts2.config.Configuration implementation class &6e A.
org.apache.struts2.config.Configuration接口名 *b7evU *1
% oJH 6F
struts.configuration.files ]TVc 'G;
A list of configuration files automatically loaded by Struts !&},h=
struts自动加载的一个配置文件列表 RBHU5]5
^x Z=";eq
struts.configuration.xml.reload ]x66/O\0u
Whether to reload the XML configuration or not gH.$B'
是否加载xml配置(true,false) 0EasPbp
e0]#vqdO
struts.continuations.package JLjb'Bn
The package containing actions that use Rife continuations WpOH1[8v
含有actions的完整连续的package名称 g][n1$%
qC-4X"y+
struts.custom.i18n.resources {L
\TO,
Location of additional localization properties files to load 4&%E?_M
加载附加的国际化属性文件(不包含.properties后缀) 36Lf8~d4"h
s`pdy$
struts.custom.properties i6S["\h>
Location of additional configuration properties files to load 1d$wP$
加载附加的配置文件的位置 );?tGX
Q[FDk63;w
I+`>e*:@W
struts.devMode r*ziO#[
Whether Struts is in development mode or not [ {HTGz@(
是否为struts开发模式 TxH
amI l
og_ylCh:
struts.dispatcher.parametersWorkaround BjHp3-A'
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8bf@<VTO_
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E&Zt<pRf;2
fl40jo]
struts.enable.DynamicMethodInvocation 8@){\.M
Allows one to disable dynamic method invocation from the URL a
p( PI?]X
允许动态方法调用
'*EKi
[x-
9m\h
struts.freemarker.manager.classname 1@}<CWE9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ftQ;$@
org.apache.struts2.views.freemarker.FreemarkerManager接口名 HG)$W
'Hgk$Im+
struts.i18n.encoding Zad>iw}
The encoding to use for localization messages S_^;#=_c
国际化信息内码 =iB$4d2
;Zc0imYL
struts.i18n.reload qxcTY|&
Whether the localization messages should automatically be reloaded N8,g~?r^
是否国际化信息自动加载 "Z~@"JLb%
t3*.Bm:^
struts.locale }2^qM^,0
The default locale for the Struts application We*uZ?+
默认的国际化地区信息 $@w,9J\
^E)8Sb9t
struts.mapper.class Galh _;=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class oTr,zRL
org.apache.struts2.dispatcher.mapper.ActionMapper接口 e.Q'l/g
;iQw2XhT
struts.multipart.maxSize y-S23B(
The maximize size of a multipart request (file upload) \?|^w.
multipart请求信息的最大尺寸(文件上传用) 0g
Hd{H=
Zqv
struts.multipart.parser yTNHM_P
The org.apache.struts2.dispatcher.multipart. IsVR4t]
MultiPartRequest parser implementation for a multipart request (file upload) YS<KyTb"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q'Uv5p"X
W"\+jHF"
of >
struts.multipart.saveDir =L;g:hc<
The directory to use for storing uploaded files 7mn&w$MS4:
设置存储上传文件的目录夹 sQ&<cBs2
C0khG9,BL
struts.objectFactory 7W+{U02O
The com.opensymphony.xwork2.ObjectFactory implementation class '}OAl
com.opensymphony.xwork2.ObjectFactory接口(spring) iG"1~/U
E_P,>f
struts.objectFactory.spring.autoWire Pj*]%V
Whether Spring should autoWire or not |h&okR+_,
是否自动绑定Spring R:+?<U&
32pPeYxB!-
struts.objectFactory.spring.useClassCache bx Wzm|
Whether Spring should use its class cache or not K.Cx 9
是否spring应该使用自身的cache [#AI! -
7\H_9o0$
struts.objectTypeDeterminer vg1E@rH|}
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k4!p))ql
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H`yUSB
IP
T hVq5
struts.serve.static.browserCache V0*MY{x#S
If static content served by the Struts filter should set browser caching header properties or not B`vC>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @PK
1
3ly]DTbz
struts.serve.static >u|4490<0
Whether the Struts filter should serve static content or not Gz--C(
是否struts过滤器应该提供静态内容 HcV,r,>e
&o&}5Aba9
struts.tag.altSyntax J<9})
m
Whether to use the alterative syntax for the tags or not #%/Jr 52<
是否可以用替代的语法替代tags mi@uX@ #
iszVM
struts.ui.templateDir S2 P9C"
The directory containing UI templates LaL{
^wP
UI templates的目录夹 rKTc6h:)
f:AfM f>m
struts.ui.theme X|4Kdi.r@
The default UI template theme B->oTC`5
默认的UI template主题 ]<9o>#3
kLXa1^Lq
struts.url.http.port J:I As:e`
The HTTP port used by Struts URLs A6xN6{R!
设置http端口 tItI^]w2s
B"`86qc
struts.url.https.port d6zq,x!cI
The HTTPS port used by Struts URLs %][zn$aa|
设置https端口 ;g?o~ev 8
x4`|[
struts.url.includeParams k`\L-*:Ji
The default includeParams method to generate Struts URLs +xU=7chA
在url中产生 默认的includeParams 7c<_j55(
"y ;0}9]n1
jS|jPk|I.
struts.velocity.configfile ,o0[^-b<
The Velocity configuration file path :#UA!|nV
velocity配置文件路径 d7Z$/ $
RGBntp%
struts.velocity.contexts a!&m\+?
List of Velocity context names |T*t3}
velocity的context列表 3g0v,7,Zv
YdYaLTz
qy-Hv6oof
struts.velocity.manager.classname %4/X;w\3
org.apache.struts2.views.velocity.VelocityManager implementation class 20M]gw]
org.apache.struts2.views.velocity.VelocityManager接口名 cA{,2CYc
\}gITc).j
struts.velocity.toolboxlocation N0YJ'.=8,
The location of the Velocity toolbox awLSY:JI
velocity工具盒的位置 GwG(?_I"
struts.xslt.nocache MEtKFC|p
Whether or not XSLT templates should not be cached ]XWtw21I1
是否XSLT模版应该被缓存 Vp8!-[R