struts2的struts.properties配置文件详解 [ q}WS5Cp
=W?c1EPLCx
struts.action.extension 9dAsXEWh
The URL extension to use to determine if the request is meant for a Struts action '=5N?)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qW9|&GuZ$
x.aUuC,$x
struts.configuration OpfFF;"A'
The org.apache.struts2.config.Configuration implementation class BehV
:M
org.apache.struts2.config.Configuration接口名 r iz({
$J+$8pA
struts.configuration.files 7u; B[qH
A list of configuration files automatically loaded by Struts 5 m:nh<)#
struts自动加载的一个配置文件列表 `|4{|X*U.
- >2ej4C
struts.configuration.xml.reload $%<gp@Gz
Whether to reload the XML configuration or not 8LOzL,Ah
是否加载xml配置(true,false) *|'k
'W)x<Iey1
struts.continuations.package CwAl-o
The package containing actions that use Rife continuations iV%%VR8b
含有actions的完整连续的package名称 t{ 'QMX
=1D*K%
struts.custom.i18n.resources CBc}N(9
Location of additional localization properties files to load aLr^uce]
加载附加的国际化属性文件(不包含.properties后缀) drH!?0Dpg
WH!<Z=#c}
struts.custom.properties
3x#G
SS
Location of additional configuration properties files to load ?r/7:
加载附加的配置文件的位置 $iV3>>;eh
z-,'W`
g&"Nr aQM9
struts.devMode Z]aSo07
Whether Struts is in development mode or not 0GB6.Ggft
是否为struts开发模式 R,(^fM
0-QkRr_I
struts.dispatcher.parametersWorkaround 0 X@5W$x
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o)NWsUXf
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,y^By_1wS
#)XO,^s.
struts.enable.DynamicMethodInvocation iGR(
Allows one to disable dynamic method invocation from the URL Ih{~?(V$
允许动态方法调用 "?]5"lNC|
g?`w)O7v
struts.freemarker.manager.classname i
cZQv]
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b*,R9
org.apache.struts2.views.freemarker.FreemarkerManager接口名 NKd):>d%
4}gwMjU-B
struts.i18n.encoding h~dM*yo;
The encoding to use for localization messages L%fWa2P'
国际化信息内码 4((Z8@iX/
`W"-jz5#=
struts.i18n.reload ImgKqp0Z
Whether the localization messages should automatically be reloaded p<Zf,F}
是否国际化信息自动加载 l*h6JgU
YTY0N5["
struts.locale 1W5YS +pf
The default locale for the Struts application lVMAab
默认的国际化地区信息 }V`Fz',lZ
t#kmtJC
struts.mapper.class T
`N(=T^*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ofS9h*wrJ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 MECR0S9
&H*F
struts.multipart.maxSize Oi7|R7NE
The maximize size of a multipart request (file upload) /bg8oB4
multipart请求信息的最大尺寸(文件上传用) 1`b?nX
<OpiD%Ctx
struts.multipart.parser !m78 /[LW
The org.apache.struts2.dispatcher.multipart. l46O=?usDX
MultiPartRequest parser implementation for a multipart request (file upload) nQ8EV>j2
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I4u'b?*
je
KPKby?qQ^
6?2/b`k
struts.multipart.saveDir vVE^Y
The directory to use for storing uploaded files Y ||!V
设置存储上传文件的目录夹 8iq~ha$]|
T-JJc#
struts.objectFactory Z3 &8(vw
The com.opensymphony.xwork2.ObjectFactory implementation class =w,%W^"E
com.opensymphony.xwork2.ObjectFactory接口(spring) }k'8*v}8
>C@fSmnOM
struts.objectFactory.spring.autoWire C!v0*^i
Whether Spring should autoWire or not vrh}X[JEw'
是否自动绑定Spring 3vDV
RtK/bUa
struts.objectFactory.spring.useClassCache 7M5HIK6_
Whether Spring should use its class cache or not -K+gr sb
g
是否spring应该使用自身的cache dDAdZxd
&:w{[H$-
struts.objectTypeDeterminer bSBI[S
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
,8@@r7
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]oZ$,2#;~
3)I v8mA
struts.serve.static.browserCache WF_G GF{
If static content served by the Struts filter should set browser caching header properties or not 2x'JR yef
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 HA"LU;5>2J
7J##IH+z35
struts.serve.static t:$p8qR
Whether the Struts filter should serve static content or not v||8Q\d
是否struts过滤器应该提供静态内容 Ix-FJF-
=OTwP
struts.tag.altSyntax a!4'}gHR
Whether to use the alterative syntax for the tags or not XA>@0E>1r
是否可以用替代的语法替代tags v:<u0B-)$
9
bGN5.5
struts.ui.templateDir 'N0d==aI
The directory containing UI templates %]RzC`NZ
UI templates的目录夹 > lN{FJ
LR'F/.Dx
struts.ui.theme A .*}<
The default UI template theme ]@>bz
默认的UI template主题 ]`]m41+w
cD]{ Nn
struts.url.http.port `[/BG)4
The HTTP port used by Struts URLs " ?n~ /9`
设置http端口 hZ5h(CQ?"#
Bu*ge~
struts.url.https.port Fp|x,-
The HTTPS port used by Struts URLs m>:3Ku
设置https端口 FtT+Q$q=
(Kv[~W7lb
struts.url.includeParams .,<-lMC+
The default includeParams method to generate Struts URLs ;g7nG{
在url中产生 默认的includeParams [u=b[(
-i7W|X"
4: 5 CnK
struts.velocity.configfile Mryi6X T
The Velocity configuration file path i{!i%`"
velocity配置文件路径 \} P} H
OT\[qaK
struts.velocity.contexts r4D6g>)h1q
List of Velocity context names @va)j
velocity的context列表 UvxJ _
}=az6cLE2
0B>{31)
struts.velocity.manager.classname r68'DJ&m3
org.apache.struts2.views.velocity.VelocityManager implementation class i{
eDV
org.apache.struts2.views.velocity.VelocityManager接口名 , z<\ Z!+=
%)u5A!"
struts.velocity.toolboxlocation \P+lb-~\"
The location of the Velocity toolbox Hq< Vk.Nk
velocity工具盒的位置 qbFzA
i
struts.xslt.nocache g_5:o
3s
Whether or not XSLT templates should not be cached +mYD
DlvI
是否XSLT模版应该被缓存 rG}o!I`z