struts2的struts.properties配置文件详解 *kE2d{h^=C
a.QF`J4"'
struts.action.extension @bU(z$eB
The URL extension to use to determine if the request is meant for a Struts action i3g;B?54
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C^I h"S
:c%vl$
struts.configuration N}Ozm6Mc
The org.apache.struts2.config.Configuration implementation class Zo
org.apache.struts2.config.Configuration接口名 HI6;=~[
rf1Us2vp
struts.configuration.files B]oIFLED
A list of configuration files automatically loaded by Struts )>08{7
struts自动加载的一个配置文件列表 1HK5OT&
g(m3
&
struts.configuration.xml.reload "Wd?U[[
Whether to reload the XML configuration or not \:ntqj&A|
是否加载xml配置(true,false) qg?O+-+
AU@K5jwDwQ
struts.continuations.package n|
=k9z<y8
The package containing actions that use Rife continuations c!"&E\F
含有actions的完整连续的package名称 ~yz7/?A)TS
kK+<n8R2
struts.custom.i18n.resources RbUBKMZU
Location of additional localization properties files to load }wzU<(Rx
加载附加的国际化属性文件(不包含.properties后缀) SAswP
z1A[rbe=4w
struts.custom.properties 3Tv;<hF
Location of additional configuration properties files to load 6Ouy%]0$I3
加载附加的配置文件的位置 o<2H~2/
F<y$Q0Z}
o(5Xj$Z
struts.devMode ) 9h5a+Z
Whether Struts is in development mode or not 51 3{oM:
是否为struts开发模式 Dn;6O
HVG9 C$
struts.dispatcher.parametersWorkaround :{NvBxc[
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qXmkeidb&W
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sLh9=Kh`
pcIJija:
struts.enable.DynamicMethodInvocation @Q~Oc_z
Allows one to disable dynamic method invocation from the URL A9^t$Ii
允许动态方法调用 v#i,pBj
E?san;Ku
struts.freemarker.manager.classname L ;5uB2
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LO{{3No
org.apache.struts2.views.freemarker.FreemarkerManager接口名 iW\cLp "
+:@HJXwK
struts.i18n.encoding >]uV
The encoding to use for localization messages @KRr$k
国际化信息内码 1+6)0 OH{
;A)w:"m
struts.i18n.reload pX3Q@3,$
Whether the localization messages should automatically be reloaded z45
7/zO
是否国际化信息自动加载 t.Hte/,k
#`R`!4
struts.locale :^".cs?g
The default locale for the Struts application F8{"Rk}
默认的国际化地区信息 L h"K"Uv
FTvFtdY
struts.mapper.class Z}74%
9qE
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -m*IpDi
org.apache.struts2.dispatcher.mapper.ActionMapper接口 2uw1R;zw
`BA wef
struts.multipart.maxSize t,|`#6 Ft
The maximize size of a multipart request (file upload) F&?&8.
multipart请求信息的最大尺寸(文件上传用) kc#<Gr&Z&
KICy!
"af
struts.multipart.parser p&'oJy.P
The org.apache.struts2.dispatcher.multipart. c\.Hs9T >
MultiPartRequest parser implementation for a multipart request (file upload) \%Wu`SlDp9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Sb@:ercC,
f4F13n_0X
oJ}!qrrH
struts.multipart.saveDir NYopt?Xg
The directory to use for storing uploaded files VNKtJmt
设置存储上传文件的目录夹 -90qG"@
[|{2&830
struts.objectFactory y"4Nw]kU
The com.opensymphony.xwork2.ObjectFactory implementation class D*!p8J8Ku
com.opensymphony.xwork2.ObjectFactory接口(spring) :ryyo$
Bn>"lDf,
struts.objectFactory.spring.autoWire @ 63Uk2{W>
Whether Spring should autoWire or not 3|1ug92
是否自动绑定Spring h>>KH*dQ
$
{29[hO
struts.objectFactory.spring.useClassCache YK(I'
Whether Spring should use its class cache or not K/)*P4C-
是否spring应该使用自身的cache f0UB?
|
,l}mCY
struts.objectTypeDeterminer lP$bxUNt
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class F$[1KjS
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Rw8l"`
XN+~g.0
struts.serve.static.browserCache A6D.bJ)
If static content served by the Struts filter should set browser caching header properties or not Aj| Gqw>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $#|iKi<Y@j
Skm$:`u;
struts.serve.static X}XTEk3[
Whether the Struts filter should serve static content or not 9ure:Dko(Y
是否struts过滤器应该提供静态内容 k
4|*t}o7
]`[r=cG
struts.tag.altSyntax z@WuKRsi
Whether to use the alterative syntax for the tags or not ]xJ5}/
是否可以用替代的语法替代tags y_aKW4L+
-Ucj|9+(a
struts.ui.templateDir
{@XzY>
The directory containing UI templates '3B\I#
UI templates的目录夹 rU^?Z
Ps<6 kQ(
struts.ui.theme 0MV^-M
The default UI template theme 6O|B'?]Pf
默认的UI template主题 vn5X]U"
6Xu^cbD
struts.url.http.port !uIT5D
The HTTP port used by Struts URLs (wxdT6RVm\
设置http端口
"rnZ<A}
[(%6]L}
struts.url.https.port sY @S
The HTTPS port used by Struts URLs %by8i1HR
设置https端口 T6
K?Xr{_
ifo^
M]v
struts.url.includeParams >Ln/ )j
The default includeParams method to generate Struts URLs Gz>M Y4+G
在url中产生 默认的includeParams a}oFL%=?
FlWgTn>
ROWb:tX}
struts.velocity.configfile "rV-D1Dki
The Velocity configuration file path LyEM^d]
velocity配置文件路径 n|G x29E
UIhU[f]
struts.velocity.contexts C26vH#C
List of Velocity context names +/">]QJ
velocity的context列表 tbx* }uy2
3<5E254N
80i-)a\n
struts.velocity.manager.classname dNQR<v\IL
org.apache.struts2.views.velocity.VelocityManager implementation class D..dGh.MY
org.apache.struts2.views.velocity.VelocityManager接口名 $L~?!u&N
\KBE+yj
struts.velocity.toolboxlocation b^SQCX+P
The location of the Velocity toolbox \v7->Sy8
velocity工具盒的位置 <!+T#)Qi
struts.xslt.nocache 5>E]C=maD
Whether or not XSLT templates should not be cached ? {@UB*
是否XSLT模版应该被缓存 h.A@o#x