struts2的struts.properties配置文件详解 >3{#S:
]q#w97BxiJ
struts.action.extension ~ IPel
The URL extension to use to determine if the request is meant for a Struts action 9|kc$+(+6
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V*xo3hU
Hz?C9q3BX
struts.configuration \<cs:C\h7
The org.apache.struts2.config.Configuration implementation class v[k;R
org.apache.struts2.config.Configuration接口名 ZGILV
/INjP~C
struts.configuration.files $KSdNFtM)A
A list of configuration files automatically loaded by Struts GyirE`
struts自动加载的一个配置文件列表 MHl ffj
U
+c?x2\
struts.configuration.xml.reload UE:';(t
Whether to reload the XML configuration or not |p4D!M+$7
是否加载xml配置(true,false) g8=j{]~C
}>q%##<n
struts.continuations.package Uq}F rK}
The package containing actions that use Rife continuations #6fQ$x(F#j
含有actions的完整连续的package名称 $&fP%p
g 0Rny
struts.custom.i18n.resources ua!i3]18
Location of additional localization properties files to load !p:kEIZ)y
加载附加的国际化属性文件(不包含.properties后缀) Ge'[AhA
`S`,H
struts.custom.properties 0m3:!#\
Location of additional configuration properties files to load mP!=&u fcU
加载附加的配置文件的位置 kGz0`8URu
Ox | ?
O4)'78ATp
struts.devMode }u3Q*oAGl
Whether Struts is in development mode or not ; 9n} P@
是否为struts开发模式 Th\w#%'N
@2yoy&IO
struts.dispatcher.parametersWorkaround S*aVcyDEP
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6_G[&
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yj:<3_-C*
/$z(BX/
struts.enable.DynamicMethodInvocation /nPNHO>U
Allows one to disable dynamic method invocation from the URL xbVvK+
允许动态方法调用 8fI]QW
nj90`O.K
struts.freemarker.manager.classname V(lxkEu/Fj
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3^jkd)xw
org.apache.struts2.views.freemarker.FreemarkerManager接口名 [9<c;&$LU
J Wh5gOXd
struts.i18n.encoding +#;t.&\80N
The encoding to use for localization messages Z=[qaJ{]
国际化信息内码 r$8(Q'
V4["+Y
struts.i18n.reload =c(t;u6m-
Whether the localization messages should automatically be reloaded D+nKQ4
是否国际化信息自动加载 M]5)u=}S-
;h f{B7
struts.locale !7rk>YrY
The default locale for the Struts application ES4[@RX
默认的国际化地区信息 *#n#J[
Z2t'?N|_
struts.mapper.class 5WlBec@
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vtByC u5
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &c AFKYt
EDDld6O,
struts.multipart.maxSize ;bYpMcH
The maximize size of a multipart request (file upload) 8|cQW-L
multipart请求信息的最大尺寸(文件上传用) [-5l=j
r
~ERA
struts.multipart.parser &06pUp
iS
The org.apache.struts2.dispatcher.multipart. G5oBe6\C
MultiPartRequest parser implementation for a multipart request (file upload) &UFj
U%Z%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =q\Ghqj1
r(ZMZ^
cv=H6j]h|
struts.multipart.saveDir 6L/`
The directory to use for storing uploaded files j7XUFA
设置存储上传文件的目录夹 Il4R R
@cS(Bb!(M
struts.objectFactory >;sz(F3)
The com.opensymphony.xwork2.ObjectFactory implementation class HV?Q{XK.b
com.opensymphony.xwork2.ObjectFactory接口(spring) JK%UaEut=
.:~{+
<*`
struts.objectFactory.spring.autoWire (drDC1\
Whether Spring should autoWire or not EGL7z`nt
是否自动绑定Spring MnPk+eNJm
yq=rv$.s
struts.objectFactory.spring.useClassCache |34M.YjA
Whether Spring should use its class cache or not -"CXBKHb
是否spring应该使用自身的cache E,}(jAq7
%a=^T?8
struts.objectTypeDeterminer it.'.aK4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *[|a$W
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8[B0[2O
BO%aCK&
struts.serve.static.browserCache Y& p
~8
If static content served by the Struts filter should set browser caching header properties or not Hob n{E
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 :z^,>So :
1sIPhOIys
struts.serve.static }m -A #4.
Whether the Struts filter should serve static content or not Lz/{
q6>
是否struts过滤器应该提供静态内容 p Lwtm@
olxnQYFo
struts.tag.altSyntax FoW|BGA~
Whether to use the alterative syntax for the tags or not xbNL <3"a
是否可以用替代的语法替代tags <*3#nA-O>i
'},
8x?
struts.ui.templateDir
PKg>|]Rf.
The directory containing UI templates PNp-/1Cx
UI templates的目录夹 VkD}gJY
/J5)_>R:
struts.ui.theme ]kir@NMv>
The default UI template theme >Tp`Kri
默认的UI template主题 DedY(JOvB
QFg{.F?3q>
struts.url.http.port OnND(YiX
The HTTP port used by Struts URLs cna/?V
设置http端口 %jh
gKq
G6XDPr:}
struts.url.https.port Vpe\Okt:
The HTTPS port used by Struts URLs %0_}usrsk
设置https端口 ^|lw~F
)qeed-{
struts.url.includeParams WzqYBa
The default includeParams method to generate Struts URLs oU/{<gs
在url中产生 默认的includeParams w{"ro~9o
18WJ*q7:
]
L6LB\
struts.velocity.configfile nc9sfH3
The Velocity configuration file path ~N]pB]/][
velocity配置文件路径 gkFw=Cd
3y}8|ML
struts.velocity.contexts E#VF7 9L
List of Velocity context names 2I>`{#fV
velocity的context列表 r:U/a=V
MWI7u7{
_-:CU
struts.velocity.manager.classname Oq[YbQ'GE
org.apache.struts2.views.velocity.VelocityManager implementation class XR+
org.apache.struts2.views.velocity.VelocityManager接口名 {lbNYjknS
l&_PsnU
struts.velocity.toolboxlocation ]T;
The location of the Velocity toolbox l\_81oZ
velocity工具盒的位置 ]-{A"tJ
struts.xslt.nocache m9mkZ:r(kV
Whether or not XSLT templates should not be cached sI5S)^'IQ
是否XSLT模版应该被缓存 0gsRBy