struts2的struts.properties配置文件详解 T#:n7$M|?A
/ltGSl
struts.action.extension v5Qp[O_
The URL extension to use to determine if the request is meant for a Struts action D1g
.Fek5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 b,MzHx=im
z&@O\>Q
struts.configuration "T0s7LWp
The org.apache.struts2.config.Configuration implementation class ~o?(O1QY
org.apache.struts2.config.Configuration接口名 a3?D@@Qnw
8e{S(FZ7Ed
struts.configuration.files 8IrA{UU
A list of configuration files automatically loaded by Struts b0n " J`
struts自动加载的一个配置文件列表 %M
KZ':m
I%qZMoS1h
struts.configuration.xml.reload Kp.d#W_TX
Whether to reload the XML configuration or not y?4%eD
是否加载xml配置(true,false) 0ghW};[6
$Lx2!Zy
struts.continuations.package Bk)*Z/1<x
The package containing actions that use Rife continuations fO'"UI
含有actions的完整连续的package名称 PW)Gd +y
+`D,7"{Eu
struts.custom.i18n.resources .
v
L4@_
Location of additional localization properties files to load G$T#ql
加载附加的国际化属性文件(不包含.properties后缀) /Q*o6Gys0
W!.vP~ >
struts.custom.properties x.ZW%P1
Location of additional configuration properties files to load $lYy `OuC
加载附加的配置文件的位置 qo^PS
@}[yC['
{!G
struts.devMode kl/eJN'S
Whether Struts is in development mode or not Z#nPn>,q
是否为struts开发模式 [(65^Zl`
zv>3Tc0R
struts.dispatcher.parametersWorkaround :
#om6}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {@tqeu%IM
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @UgZZ
)!tqock*v
struts.enable.DynamicMethodInvocation G+dQ" cI9
Allows one to disable dynamic method invocation from the URL |MEu"pY)
允许动态方法调用 g E#4 3
Sh(W s2b7
struts.freemarker.manager.classname 'L1=:g.\i
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tITx+i
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @_
Q
+^0Q~>=VD
struts.i18n.encoding Mb0l*'ZF
The encoding to use for localization messages YrRD3P.P
国际化信息内码 7F!(60xY
=mWr8p-H
struts.i18n.reload 40ZHDtIu<
Whether the localization messages should automatically be reloaded QhqXd
是否国际化信息自动加载 V% PeZ.Xv
dd{pF\a
struts.locale oI2YJ2?Je8
The default locale for the Struts application 5OS|Vp||b
默认的国际化地区信息 xQ{n|)i>
"?r=n@Kv
struts.mapper.class 45+w)Vf!
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @s[Vtw%f
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #Y9'n0 AL
fP:26pK^
struts.multipart.maxSize Za4X
;
The maximize size of a multipart request (file upload) iT;~0XU7F
multipart请求信息的最大尺寸(文件上传用) [@RJ2q$
N~/D| ?P~2
struts.multipart.parser NrTK+6 z
The org.apache.struts2.dispatcher.multipart. e_iXR#bZc
MultiPartRequest parser implementation for a multipart request (file upload) yi-S^
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =:~%$5[[
}g@5%DI]
yv&VK ht
struts.multipart.saveDir sb^%eUU])
The directory to use for storing uploaded files N%:)M T,&g
设置存储上传文件的目录夹 U!xOJ
nS`DI92I
struts.objectFactory N=hhuKt]
The com.opensymphony.xwork2.ObjectFactory implementation class n@
rphJb
com.opensymphony.xwork2.ObjectFactory接口(spring) oI/jGyY;
LEJ8 .z6$
struts.objectFactory.spring.autoWire 9"%ot=)
Whether Spring should autoWire or not [
S_8;j
是否自动绑定Spring T+9#&
b7nER]R
struts.objectFactory.spring.useClassCache &Fxw19[G
Whether Spring should use its class cache or not 'c")]{
是否spring应该使用自身的cache _h7qS
H7=[sL^
struts.objectTypeDeterminer 6gSo>F4=
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gr%!<2w
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0
jszZ_
\KpSYX1
struts.serve.static.browserCache Vu
u2SS
If static content served by the Struts filter should set browser caching header properties or not 6n}5>GSF
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <m7T`5+
WOgPhJ
struts.serve.static U:[#n5g
Whether the Struts filter should serve static content or not Z[&7NJo(
是否struts过滤器应该提供静态内容 ,m^@S
w)u6J,
struts.tag.altSyntax D-GI rw{>5
Whether to use the alterative syntax for the tags or not `z?6.+C
是否可以用替代的语法替代tags x9&{@
?o
:^Ouv1!e1
struts.ui.templateDir TAl#V7PF}
The directory containing UI templates *;]j#0
UI templates的目录夹 pjI<
cQ&
Fo0dz
struts.ui.theme /6$8djw
The default UI template theme `!t+sX-n
默认的UI template主题 = @UgCu>=
N8s2v W
struts.url.http.port Oy,`tG0
The HTTP port used by Struts URLs JkiMrpkuk
设置http端口 ls<7Qe"a
'aFj yY?%
struts.url.https.port j![ ; ;
The HTTPS port used by Struts URLs 4kZ9]5#.
设置https端口 X 9lh@`3
f T&>L
struts.url.includeParams RkW)B^#
The default includeParams method to generate Struts URLs %#^)hX,+Q
在url中产生 默认的includeParams Z6Owxqfht
K:i{us`
mR OXwzL
struts.velocity.configfile _Coh11
The Velocity configuration file path T<\!7RnLc
velocity配置文件路径 G31??L:<
C6-71`C0
struts.velocity.contexts z
5T_
List of Velocity context names x-Cy,d:YX
velocity的context列表 l_Ffbs_6t
qBkI9H
tmCm54
struts.velocity.manager.classname |6mDooTy
org.apache.struts2.views.velocity.VelocityManager implementation class 99<0xN(25
org.apache.struts2.views.velocity.VelocityManager接口名 "gR W91
T
3*DwXH +
struts.velocity.toolboxlocation BV9%|
The location of the Velocity toolbox lQnl6j
velocity工具盒的位置 cjd Z.jR2
struts.xslt.nocache ylEQeN
Whether or not XSLT templates should not be cached BgzER[g|q{
是否XSLT模版应该被缓存 v@6TC 1M,