struts2的struts.properties配置文件详解 |r+hj<K
]:?hU^H]<
struts.action.extension i{Q,>Rt
The URL extension to use to determine if the request is meant for a Struts action juM~X5b
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 P^lRJB<$Q
Dp^=% F{t
struts.configuration ~:_10g]r
The org.apache.struts2.config.Configuration implementation class TDg<&ND3
org.apache.struts2.config.Configuration接口名 XC/M:2$
Z%3)w.
struts.configuration.files NJoHrhC='
A list of configuration files automatically loaded by Struts QOJ5
struts自动加载的一个配置文件列表 OMYbCy^
NW21{}=4
struts.configuration.xml.reload m,w^,)
Whether to reload the XML configuration or not }>YEtA
是否加载xml配置(true,false) ^QHgc_oDm
K3rsew
n
struts.continuations.package 6BXZGE
The package containing actions that use Rife continuations pm= s
含有actions的完整连续的package名称 H6$pA^
yB;K|MXy?
struts.custom.i18n.resources '=K~M
Location of additional localization properties files to load U}<zn+SI#V
加载附加的国际化属性文件(不包含.properties后缀) />PH{ l
({C|(v9C7
struts.custom.properties iy_3#x5>
Location of additional configuration properties files to load <<YH4}wZ
加载附加的配置文件的位置 4Xv."L
|oR{c%z05
1x+w|h
struts.devMode O#vIn}
Whether Struts is in development mode or not 0? KvR``Aj
是否为struts开发模式 "QtkNy%E
`<R^ZL,
struts.dispatcher.parametersWorkaround -b
)~
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }72 +i
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r6 pz(rCs}
SvQj'5~<
struts.enable.DynamicMethodInvocation ^Ri
;
vM
Allows one to disable dynamic method invocation from the URL k)9
pkPl
允许动态方法调用 T^X um2Ec
o1&Oug
struts.freemarker.manager.classname +]C|y ,r
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U\YzE.G1]S
org.apache.struts2.views.freemarker.FreemarkerManager接口名 g9=O<u#
s=#[>^?
struts.i18n.encoding !JjNm*F[
The encoding to use for localization messages \ ERHnh
国际化信息内码 P&Hhq>@Z
R}OjSiS\
struts.i18n.reload 5VLC\QgK^
Whether the localization messages should automatically be reloaded 6:G::"ew
是否国际化信息自动加载 IU]@%jA_:A
h~&5;
struts.locale DwXSlsN3v
The default locale for the Struts application (xBWxeL~
默认的国际化地区信息 DpL|aRdbK
"j}fcrlG9
struts.mapper.class @iYr<>iDZ
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a
0qDRB
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *{e,< DV
:YmFQ>e?
struts.multipart.maxSize 9 NC'iFQ#
The maximize size of a multipart request (file upload) Novn#0a
multipart请求信息的最大尺寸(文件上传用) QWwEfL
m&6)Vt
struts.multipart.parser `ItPTSOi
The org.apache.struts2.dispatcher.multipart. }/%^;@q ;
MultiPartRequest parser implementation for a multipart request (file upload) U {sT %G
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uup>WW
(n@&M!a
M/8EaQs}
struts.multipart.saveDir 0"c(n0L
The directory to use for storing uploaded files P # Z+:T
设置存储上传文件的目录夹 +[=%W
{gS7pY%_W
struts.objectFactory j"P}Wn
The com.opensymphony.xwork2.ObjectFactory implementation class 4Mjcx.21
com.opensymphony.xwork2.ObjectFactory接口(spring) p+{*&Hm5
g; ZVoD
struts.objectFactory.spring.autoWire
m<:g\_<
Whether Spring should autoWire or not xJE26i
是否自动绑定Spring ~5_>$7L>
}& e#b]&:*
struts.objectFactory.spring.useClassCache Sh o] ~)XX
Whether Spring should use its class cache or not t1]svVX,w
是否spring应该使用自身的cache ?Ns aZ
PZCOJK
struts.objectTypeDeterminer T_4y;mf!@O
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rqi|8gKY
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .RWKZB
|z.Z='`
struts.serve.static.browserCache :*E#w"$,j
If static content served by the Struts filter should set browser caching header properties or not koOp:7r
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kQ
$.g<
1}I%yOi)
struts.serve.static UE%~SVi.#
Whether the Struts filter should serve static content or not lRA!
是否struts过滤器应该提供静态内容 83gp'W{|
fGDjX!3-S
struts.tag.altSyntax *Zk$P.]
Whether to use the alterative syntax for the tags or not H=>;Mj
是否可以用替代的语法替代tags `F' >NNY
!>QD42
struts.ui.templateDir X!/
The directory containing UI templates pU5t,
UI templates的目录夹 /m+\oZ
]d
PQ`~qM:3st
struts.ui.theme N:7;c}~
The default UI template theme mM;p 7
sJ
默认的UI template主题 dIRSgJ`
xrCb29{
struts.url.http.port ^)[jBUT
The HTTP port used by Struts URLs $_0~Jzt,
设置http端口 .VfBwTh7q8
OLgW.j:Ag
struts.url.https.port [n9X5qG~
The HTTPS port used by Struts URLs AU/L_hg
设置https端口 F\hU
V[
jM|-(Es.)
struts.url.includeParams d"hW45L
The default includeParams method to generate Struts URLs jMB&(r
在url中产生 默认的includeParams -PH!U Hg
2ID]it\5
#MI4 `FZ
struts.velocity.configfile IAa}F!6Q1
The Velocity configuration file path e8ZMB$byP
velocity配置文件路径 *u`[2xmuYf
o+.LG($+U
struts.velocity.contexts >$iQDVh!
List of Velocity context names j692M.A
velocity的context列表 xr'gi(.o
DAt Zp%
|dQ-l !
struts.velocity.manager.classname VsMTzGr
org.apache.struts2.views.velocity.VelocityManager implementation class }O7b&G:nW
org.apache.struts2.views.velocity.VelocityManager接口名 *1clPK
mk&`dr
struts.velocity.toolboxlocation L]|[AyNu
The location of the Velocity toolbox kc&MO`2 W\
velocity工具盒的位置 xHY#"
struts.xslt.nocache 1 n<7YO7}
Whether or not XSLT templates should not be cached Y)]x1I
是否XSLT模版应该被缓存 HOrD20