struts2的struts.properties配置文件详解 m{0u+obi&w
C,3yu,'
struts.action.extension u9dL-Nr`
The URL extension to use to determine if the request is meant for a Struts action JPS<e*5
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \ffU15@N
|-VbJd
struts.configuration *wJ'Z4_5F
The org.apache.struts2.config.Configuration implementation class ij1g2^],4
org.apache.struts2.config.Configuration接口名 7.xJ:r|
R)qK{wq(1E
struts.configuration.files DZ0\pp?S
A list of configuration files automatically loaded by Struts &E8fd/s=k
struts自动加载的一个配置文件列表 Hxd^oE
%b`B.A
struts.configuration.xml.reload 0qD.OF)8
Whether to reload the XML configuration or not ^->vUf7PX
是否加载xml配置(true,false) zGE{Z A
?C9>bKo*2H
struts.continuations.package }#U3vMx(
The package containing actions that use Rife continuations TZk.h8
含有actions的完整连续的package名称 lpeo^Y}N
Qmn'G4#@E
struts.custom.i18n.resources E{6X-C[)v
Location of additional localization properties files to load q"pnFK9/L
加载附加的国际化属性文件(不包含.properties后缀) Nh\y@\F>
t8FgQ)tk
struts.custom.properties =;A~$[ g
Location of additional configuration properties files to load ~b{j`T
加载附加的配置文件的位置 rzgzX
Zu %oIk
%uhhQ<zs%
struts.devMode RlTVx:
Whether Struts is in development mode or not )ur&Mnmm
是否为struts开发模式 Q Ph6
p3bg
MBH/,Yd
struts.dispatcher.parametersWorkaround d@t3C8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $~*d.
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 98eS f
MHKB:t]hA
struts.enable.DynamicMethodInvocation {p@uj_pS
Allows one to disable dynamic method invocation from the URL j\8'P9~%
允许动态方法调用 )BLoj:gYn
&;k`3`MC~w
struts.freemarker.manager.classname .:#6dG\0z
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Sf0[^"7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 :7Q,
`W9
|qsY0zx
struts.i18n.encoding o] 7U;W
The encoding to use for localization messages ?YbZVoD)J
国际化信息内码 *npe]cC
A?829<
struts.i18n.reload Gk5SG_o
Whether the localization messages should automatically be reloaded &g<`i{_
是否国际化信息自动加载 Jv=G3=.
OHha5n
struts.locale 0,`$ KbV\
The default locale for the Struts application E={W^k!Vz:
默认的国际化地区信息 }~28UXb23
>xE{&
):
struts.mapper.class ~cEr<mzR
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >K;'dB/m;1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 MhpR^VM'.
.U !;fJ9
struts.multipart.maxSize 3
e9fziQ~
The maximize size of a multipart request (file upload) SbW6O_
multipart请求信息的最大尺寸(文件上传用) ba
d\ Z#XzI8
struts.multipart.parser &Wup
7
The org.apache.struts2.dispatcher.multipart. ZVek`Cc2
MultiPartRequest parser implementation for a multipart request (file upload) (_lc< Bj
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'u2Qq"d+
bz?
*#S
/aB9pD+%
struts.multipart.saveDir O}3M+
The directory to use for storing uploaded files ~:srm#IX
设置存储上传文件的目录夹
" V`MNZ
~L'}!'
&.
struts.objectFactory v+*l|!v
The com.opensymphony.xwork2.ObjectFactory implementation class }`9}Q
O
com.opensymphony.xwork2.ObjectFactory接口(spring) XDJQO /qN
qlg~W/
struts.objectFactory.spring.autoWire ynN[N(m#
Whether Spring should autoWire or not G{ $Zg
是否自动绑定Spring prY9SQd
]X)EO49
struts.objectFactory.spring.useClassCache JZQ$*K
Whether Spring should use its class cache or not ^OQ#N z
是否spring应该使用自身的cache s"?&`S
xf@D<}~1
struts.objectTypeDeterminer Pne[>}_l/
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?D6rFUs9;
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Pz"!8b-MN
3:Sv8csT
struts.serve.static.browserCache r(yb%p+
If static content served by the Struts filter should set browser caching header properties or not 2aN
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !2N#H~{
+:d))r=n
struts.serve.static G?/1
F1
Whether the Struts filter should serve static content or not VMW?[j
是否struts过滤器应该提供静态内容 ;.h5; `&
4>^ %_Xj[
struts.tag.altSyntax 2g^Kf,m
Whether to use the alterative syntax for the tags or not AsM""x1Ix
是否可以用替代的语法替代tags hGF(E*
viBf".
struts.ui.templateDir N3H!ptn37
The directory containing UI templates >}/"gx
UI templates的目录夹 &w3LMOT
8X]j;Rb
struts.ui.theme ~4*9w3t
The default UI template theme q6{ %vd
默认的UI template主题 p$@=N6)I.k
GKPqBi[rO
struts.url.http.port _wf"E(c3D
The HTTP port used by Struts URLs 9bXU!l[
设置http端口 |P2GL3NR
^ :Q |,oy
struts.url.https.port k>n^QHM
The HTTPS port used by Struts URLs =k`(!r2"#
设置https端口 6SsZK)X
DD'<zL[
struts.url.includeParams W.n@
The default includeParams method to generate Struts URLs R< xxwjt
在url中产生 默认的includeParams ^LT9t2
G$4lH>A&
'eqvK|Uj:
struts.velocity.configfile 4aB`wA^x
The Velocity configuration file path Y@u{73H
velocity配置文件路径 Li=l/
!HDk]
struts.velocity.contexts qTyU1RU$9^
List of Velocity context names ^m8\fCA*
velocity的context列表 ;wprHXjq
4[.-
a&!}
&TWO/F+Y
struts.velocity.manager.classname !,\9,lc
org.apache.struts2.views.velocity.VelocityManager implementation class Zml9ndzT
org.apache.struts2.views.velocity.VelocityManager接口名 {Rw~G&vQ
YQX>)'
struts.velocity.toolboxlocation S_2I8G^A
The location of the Velocity toolbox e@^}y4
C
velocity工具盒的位置 WM=kr$/3
struts.xslt.nocache >o>'@)I?e6
Whether or not XSLT templates should not be cached o
ohf))
是否XSLT模版应该被缓存 B{1+0k