struts2的struts.properties配置文件详解 S5v>WI^0h
z8>KY/c
struts.action.extension |RAi6;
The URL extension to use to determine if the request is meant for a Struts action 5]p>&|Ud
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 R`ZU'|
xv7^
struts.configuration /n?5J`6
The org.apache.struts2.config.Configuration implementation class cdP+X'Y4D
org.apache.struts2.config.Configuration接口名 ~@BV
xHykU;p@
struts.configuration.files '|4/aHU
A list of configuration files automatically loaded by Struts A>OL5TCl
struts自动加载的一个配置文件列表
F.PD5%/$q
;csAhkf:S
struts.configuration.xml.reload &h4(lM
Whether to reload the XML configuration or not g%4|vA8
是否加载xml配置(true,false) ]lZ!en
lpSM p
struts.continuations.package UnW,|n8
The package containing actions that use Rife continuations A`X$jpAn&
含有actions的完整连续的package名称 k*z)AR
?"qU.}kGL
struts.custom.i18n.resources H~||]_q|
Location of additional localization properties files to load X*%KR4`
加载附加的国际化属性文件(不包含.properties后缀) FE$)[ w,m
_h@e.BtDs
struts.custom.properties s=U_tfpH
Location of additional configuration properties files to load n/^wzG
加载附加的配置文件的位置 / x$O6gi
F5+f?B~?R?
?LvZEiJ
struts.devMode T:na\y/{j
Whether Struts is in development mode or not ]<z>YyBA
是否为struts开发模式 s)ZL`S?</
7U?x8%H*
struts.dispatcher.parametersWorkaround 6PvV X*5T
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $+7MY-9T
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1[X+6viE
3(AgUq
struts.enable.DynamicMethodInvocation zbi[r
Allows one to disable dynamic method invocation from the URL V/762&2X
允许动态方法调用 ?N $
M@8
<^CK
struts.freemarker.manager.classname ir%/9=^d
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wCn W]<+
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @uT\.W:Q2
uWi+F)GS^K
struts.i18n.encoding Cd6^aFoK!
The encoding to use for localization messages \7gLk:
国际化信息内码 UKk~)Of
0[9A*
struts.i18n.reload ?L{[84GSO
Whether the localization messages should automatically be reloaded }1d
6d3b
是否国际化信息自动加载 '>2xP<ct!&
ic?6p
struts.locale 3{]i| 1&j
The default locale for the Struts application 0P%(4t$pd
默认的国际化地区信息 h7I_{v8
3VALrb;
struts.mapper.class yy/wSk
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1 ljgq]($
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ojie.+'SB
$S=lm {
struts.multipart.maxSize !*+~R2&b
The maximize size of a multipart request (file upload) k gWF@"_
multipart请求信息的最大尺寸(文件上传用) GG%j+Ed
'S@C,x%2,
struts.multipart.parser yv4hH4Io
The org.apache.struts2.dispatcher.multipart. e)7[weGN
MultiPartRequest parser implementation for a multipart request (file upload) x1Z?x,-D"
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cKFzn+
i<)c4
h"]v+u`!SM
struts.multipart.saveDir /`}C~
The directory to use for storing uploaded files @x"vGYKd
设置存储上传文件的目录夹 Uhb6{'+
A&F@+X6@
struts.objectFactory ZZzf+F)T
The com.opensymphony.xwork2.ObjectFactory implementation class 9(ANhG
com.opensymphony.xwork2.ObjectFactory接口(spring) *sZOws<
jD$T
struts.objectFactory.spring.autoWire lj'c0k8
Whether Spring should autoWire or not (lS&P"Xi
是否自动绑定Spring URX>(Y}g9^
)bw^!w)
struts.objectFactory.spring.useClassCache w*$nG$
Whether Spring should use its class cache or not VU}UK$JN
是否spring应该使用自身的cache >vt#,8VAN
D3(|bSca
struts.objectTypeDeterminer `!>zYcmT
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B5zu?AG
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 eP(%+[g
Gxy>aS3
struts.serve.static.browserCache lk2F]@_kJH
If static content served by the Struts filter should set browser caching header properties or not tA3]6SIK@
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #fzvK+
d3&gHt2
struts.serve.static DN&ZRA
Whether the Struts filter should serve static content or not 7iLm_#M
是否struts过滤器应该提供静态内容 #-
z*c
bqsb (C
struts.tag.altSyntax n-}:D<\7
Whether to use the alterative syntax for the tags or not c<y.Y0
是否可以用替代的语法替代tags >XSe[K
tURIDj%#p
struts.ui.templateDir TEh]-x`
The directory containing UI templates O->i>d
UI templates的目录夹 )>\J~{
one^XYy1%
struts.ui.theme })M$#%(
The default UI template theme fh b &_T
默认的UI template主题 N`8!h:yL
!6@xX08z
struts.url.http.port rPaD#GA[7
The HTTP port used by Struts URLs +&4PGv53J
设置http端口 2GqPS
5caYA&R
struts.url.https.port bv\V>s
The HTTPS port used by Struts URLs >m:.5][yu
设置https端口 _-%ay
0k:&7(j
struts.url.includeParams ~BERs;4
The default includeParams method to generate Struts URLs a_waLH/
在url中产生 默认的includeParams 1.p?P]
.
l
YH={jJ
6N~ jt
struts.velocity.configfile cuq7eMG6z
The Velocity configuration file path DECX18D
velocity配置文件路径 }ebw1G
66p_d'U
struts.velocity.contexts <j:3<''o
List of Velocity context names l]sO[`X
velocity的context列表 Jgtvia
>z>UtT:
2Mu-c:1
struts.velocity.manager.classname <Ks?g=K-
org.apache.struts2.views.velocity.VelocityManager implementation class gW/H#T,
org.apache.struts2.views.velocity.VelocityManager接口名 @]3(l
e!tgWYN
struts.velocity.toolboxlocation ]DmqhK`
The location of the Velocity toolbox 5CU< ?
velocity工具盒的位置 A'[A!NL%
struts.xslt.nocache PO&xi9_
Whether or not XSLT templates should not be cached oYJ&BPuA'
是否XSLT模版应该被缓存 }^`{YD