struts2的struts.properties配置文件详解 %[-D&flKC
YT}m
8Y
struts.action.extension >"{3lDyq-
The URL extension to use to determine if the request is meant for a Struts action c@~\ FUr
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 QK%{\qu
{b"V7vn,
struts.configuration 7*M+bZ`x
The org.apache.struts2.config.Configuration implementation class nxKV7d@R
org.apache.struts2.config.Configuration接口名 Nqk*3Q"f
zdzTJiY2[Z
struts.configuration.files :xm,Ok
A list of configuration files automatically loaded by Struts w{UVo1r:
struts自动加载的一个配置文件列表 ~M3`mO+^U
b/Z=FS2T
struts.configuration.xml.reload u=5&e)v3
Whether to reload the XML configuration or not |#LU"D
是否加载xml配置(true,false) D4ESo)15'
5yI_uQR
struts.continuations.package 6UG7lH!M
The package containing actions that use Rife continuations Nj5Mc>_
含有actions的完整连续的package名称 ;x$,x-
ZO5_n
struts.custom.i18n.resources JZNRMxu
Location of additional localization properties files to load D/'kYoAEO
加载附加的国际化属性文件(不包含.properties后缀) 4`yCvPu
S4aN7.'Q
struts.custom.properties X9K@mX
Location of additional configuration properties files to load 3vfm$sx@
加载附加的配置文件的位置 =J&vr
Ly"u }e
{Iy<iV
struts.devMode 26.),a
Whether Struts is in development mode or not w=Ac/12
是否为struts开发模式 9fj3q>Un,
2a|9D\
struts.dispatcher.parametersWorkaround *pK bMG#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +!h~T5Ck
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _y*@Hj
Tw*:Vw
struts.enable.DynamicMethodInvocation b;G3&R]
Allows one to disable dynamic method invocation from the URL |ZZl3l=]
允许动态方法调用 4r&DW'
5Iinen3>
struts.freemarker.manager.classname ;rXkU9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XHs>Q>`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7DZxrVw
ecaEWIOG
struts.i18n.encoding #JMww
The encoding to use for localization messages nX~Qt%
国际化信息内码 o81RD#>E)
.'foS>W=t
struts.i18n.reload PxfWO1S(
Whether the localization messages should automatically be reloaded OH.^m6Z
是否国际化信息自动加载 %3b;`Oa
8_byS<b8
struts.locale g~EN3~
The default locale for the Struts application eajctkzj
默认的国际化地区信息 zwJB.4@
DEJ0<pnQr
struts.mapper.class &!i'Q;q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sNB*S{
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?.Iau/
m8M2ka
struts.multipart.maxSize <14,xYpE
The maximize size of a multipart request (file upload) t&|M@Ouet
multipart请求信息的最大尺寸(文件上传用) N;Hoi8W
wavyREK
struts.multipart.parser c{.y9P6
The org.apache.struts2.dispatcher.multipart. *^[m?3"W
MultiPartRequest parser implementation for a multipart request (file upload)
55O_b)$
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E>LZw>^YJ
7x>\/l(
Z4ekBdmCL
struts.multipart.saveDir hk*@<ff
The directory to use for storing uploaded files ]bcAbCZ@
设置存储上传文件的目录夹 +az=EF
xWRkg$A
struts.objectFactory (:Y0^
The com.opensymphony.xwork2.ObjectFactory implementation class =Jyi9VN=&
com.opensymphony.xwork2.ObjectFactory接口(spring) !2=m
|,
Gx)U~L$B
struts.objectFactory.spring.autoWire MZIZ"b
Whether Spring should autoWire or not ,"en7
是否自动绑定Spring ~K$dQb])
1&Z#$iD
struts.objectFactory.spring.useClassCache . E8Gj'yO
Whether Spring should use its class cache or not ol3].0Vc]
是否spring应该使用自身的cache aU\R!Y$/"
=Ju%3ptH0
struts.objectTypeDeterminer oaac.7.fV
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "!S7D>2y#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bU4l|i;j
}1kZF{KD<[
struts.serve.static.browserCache ;$.^
If static content served by the Struts filter should set browser caching header properties or not Sdzl[K/}
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2 xE+"?0
qV{iUtYt
struts.serve.static m!-R}PQC
Whether the Struts filter should serve static content or not E"<-To
是否struts过滤器应该提供静态内容 R$m?aIN
V=d~}PJ>
struts.tag.altSyntax ]Uj7f4)k
Whether to use the alterative syntax for the tags or not ]mR!-Fqj
是否可以用替代的语法替代tags 2F&VG|"
@1vpkB~ w
struts.ui.templateDir BMdcW
MYU\
The directory containing UI templates Je*hyi7
UI templates的目录夹 ()MUyW"S#`
GT 5J`
struts.ui.theme {Gvv^.H7
The default UI template theme +\x}1bNS%j
默认的UI template主题 7`J= PG$A
~ugyUpY"
struts.url.http.port eWGaGRem
The HTTP port used by Struts URLs GHRr+
设置http端口 ,p' ;Xg6ez
,a34=,
struts.url.https.port PfN[)s4F{R
The HTTPS port used by Struts URLs gP2<L5&Z,
设置https端口 i%GNmD
rM0Idc.$&&
struts.url.includeParams N{&Hq4^c
The default includeParams method to generate Struts URLs {d '>J<Da
在url中产生 默认的includeParams &HBC9Bx/(
yJGnN g
g3| 62uDF
struts.velocity.configfile g[L}puN
The Velocity configuration file path G-[.BWQ
velocity配置文件路径 %~I%*=o[
|wM<n
struts.velocity.contexts >@0U B@
List of Velocity context names MlV3qM@
velocity的context列表 )}to7r7`
D[0g0>K
4 3G2{
struts.velocity.manager.classname J-ErG!
org.apache.struts2.views.velocity.VelocityManager implementation class VXO.S)v2J
org.apache.struts2.views.velocity.VelocityManager接口名 o(stXa
si1Szmx,
struts.velocity.toolboxlocation FO:k
>F
The location of the Velocity toolbox =JE5/
velocity工具盒的位置 cD'|zH]
struts.xslt.nocache :Izdj*HL;A
Whether or not XSLT templates should not be cached TJ>$ ~9&Sy
是否XSLT模版应该被缓存 G O[u