struts2的struts.properties配置文件详解 x @uowx_&m
L$
ZZ]?7j
struts.action.extension ,ko0XQBl
The URL extension to use to determine if the request is meant for a Struts action _XUDPC(*qz
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !vH={40 ]
UaV8!Z>
struts.configuration ;@G5s+<l
The org.apache.struts2.config.Configuration implementation class h&m4"HBL_
org.apache.struts2.config.Configuration接口名 $o>6Io|D
L s(l
struts.configuration.files k2ZMDU
A list of configuration files automatically loaded by Struts 2, r{zJ8
struts自动加载的一个配置文件列表 ^F`\B'8MF
lxXIu8
struts.configuration.xml.reload s!\Gi5b
Whether to reload the XML configuration or not R)BH:wg"
是否加载xml配置(true,false) -{s9PZ3~_
cK~VNzsz
struts.continuations.package 3pI)
The package containing actions that use Rife continuations U~YjTjbd
含有actions的完整连续的package名称 yh"48@L'D
yDXW#q
struts.custom.i18n.resources 8VR!
Y0`e
Location of additional localization properties files to load x]<0Kq9K
加载附加的国际化属性文件(不包含.properties后缀) L<H6AzR+
EGJrnz8
struts.custom.properties
I<LIw8LI
Location of additional configuration properties files to load $%0A#&DVh
加载附加的配置文件的位置 <+)B8I^
DYaOlT(rE
|n+
`t?L^
struts.devMode $JZ}=\n7
Whether Struts is in development mode or not !t+eJj
是否为struts开发模式 @c^g<
6SN$El 0|G
struts.dispatcher.parametersWorkaround x] j&Knli
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic LCkaSv/[RB
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gaxxB]8
sD,FJ:dy
struts.enable.DynamicMethodInvocation #i0f}&
Allows one to disable dynamic method invocation from the URL QsH?qI&2jp
允许动态方法调用 Q!v]njCIB7
2RC@Fu~zaU
struts.freemarker.manager.classname dn|OY.`|
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class NJ$c0CNy
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?D S|vCae
F@u>5e^6
struts.i18n.encoding hxx`f-#=
The encoding to use for localization messages <CY<-H
国际化信息内码 V}+Ui]ie|I
z2cd1HxN
struts.i18n.reload %8~g#Z
Whether the localization messages should automatically be reloaded Y5$VWUrB
是否国际化信息自动加载 H=(Zx
c$52b4=a
struts.locale cy!;;bB
The default locale for the Struts application 71!'k>]h
默认的国际化地区信息 xr).ZswQ
S7WT`2
struts.mapper.class ,G!mO,DX
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O>kM2xw
org.apache.struts2.dispatcher.mapper.ActionMapper接口 0rj50$~$]
T~b6Zu6
struts.multipart.maxSize #CTHCwYo
The maximize size of a multipart request (file upload) %P`w"H,v3#
multipart请求信息的最大尺寸(文件上传用) Jyo(Etp
=%oQIx
struts.multipart.parser rhA>;9\
The org.apache.struts2.dispatcher.multipart. I18<brZJ
MultiPartRequest parser implementation for a multipart request (file upload) tA]Y=U+Q
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i!dQ
Sdf
d+158qQOh]
1]]#HTwX
struts.multipart.saveDir i :Sih"=
The directory to use for storing uploaded files El4SL'E@
设置存储上传文件的目录夹 BhC>G2 ^7
!+Us) 'L
struts.objectFactory e]@R'oM?#`
The com.opensymphony.xwork2.ObjectFactory implementation class I2^Eo5'
com.opensymphony.xwork2.ObjectFactory接口(spring) @bO/5"X,
d td}P~
struts.objectFactory.spring.autoWire fi;00>y
Whether Spring should autoWire or not (|U|>@
是否自动绑定Spring dId&tTMmC
`sPH7^R
struts.objectFactory.spring.useClassCache Rg6/6/ IN
Whether Spring should use its class cache or not _1kcz]]F
是否spring应该使用自身的cache gzeTBlXg
Lm"zW>v
struts.objectTypeDeterminer /aX5G
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Xgyi}~AoaU
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 U<jAZU[L
Gfy9?sa
struts.serve.static.browserCache c},wW@SF2W
If static content served by the Struts filter should set browser caching header properties or not ]q CCCI`
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^F4h:
wH N5H
struts.serve.static ?Q G?F9?
Whether the Struts filter should serve static content or not Zia<$kAO
是否struts过滤器应该提供静态内容 ~5sH`w~vQ
Lc5I?}:;L
struts.tag.altSyntax [ %:%C]4
Whether to use the alterative syntax for the tags or not KW-g $Ma
是否可以用替代的语法替代tags pCt0[R;?
>[a&,gS
struts.ui.templateDir fe$O Pl~
The directory containing UI templates 2JX@#vQ4
UI templates的目录夹 D~LU3#n
VSW"/{Lp
struts.ui.theme Zz@wbhMV
The default UI template theme .U9A\$
默认的UI template主题 J'#R9NO<
vD'YLn%Q
struts.url.http.port P2>Y0"bY
The HTTP port used by Struts URLs \YrvH
设置http端口 )R@M~d-o
CGY,I
UG
struts.url.https.port x3]y*6
The HTTPS port used by Struts URLs O)?
设置https端口 M&~cU{9c
!(>yB;u
struts.url.includeParams Egr'IbB
The default includeParams method to generate Struts URLs )W.Y{\D0
在url中产生 默认的includeParams 32Jl|@8,g
IBSoAL
mj_V6`m4
struts.velocity.configfile w6FVSU]sY
The Velocity configuration file path c!HmZ]/
velocity配置文件路径 _l||69|.
!y syb
struts.velocity.contexts L qdzqq
List of Velocity context names WuUT>omH
velocity的context列表 sad[(|
qS}pv
)3A%Un#B
struts.velocity.manager.classname -VP da @@w
org.apache.struts2.views.velocity.VelocityManager implementation class VH2/
org.apache.struts2.views.velocity.VelocityManager接口名 f$p7L.d<
T$r?LIa ,Q
struts.velocity.toolboxlocation )!jX$bK
The location of the Velocity toolbox &p6^
velocity工具盒的位置 +U= !svE
struts.xslt.nocache ~zD*=h2C
Whether or not XSLT templates should not be cached 7R5!(g
是否XSLT模版应该被缓存 (043G[H'.