struts2的struts.properties配置文件详解 .T|
}rB<c
=dmr,WE
struts.action.extension ;mkkaW,D*
The URL extension to use to determine if the request is meant for a Struts action x HRSzYn$
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X@rA2);6
*l+#<5x
struts.configuration ^"WVE["
The org.apache.struts2.config.Configuration implementation class 0!T`.UMI
org.apache.struts2.config.Configuration接口名 YmziHns`b
b:m+I
struts.configuration.files 54gr'qvr
A list of configuration files automatically loaded by Struts -U d^\Yy
struts自动加载的一个配置文件列表 o~Se[p
tyu@aCK
struts.configuration.xml.reload Mo,&h?VOM?
Whether to reload the XML configuration or not U1[)e D`
是否加载xml配置(true,false) M:S-%aQ_<y
Wg']a/m
struts.continuations.package J ^'El^F
The package containing actions that use Rife continuations -(qRC0V
含有actions的完整连续的package名称 Zh"m;l/]
|$RNY``J
struts.custom.i18n.resources eb62(:=N6
Location of additional localization properties files to load ?=VvFfv%
加载附加的国际化属性文件(不包含.properties后缀) (_T{Z>C/J
6':iW~iI
struts.custom.properties WYP ;s7_
Location of additional configuration properties files to load ;<[X\;|'
加载附加的配置文件的位置 =]Wi aF
d*gAL<M7E
i5 '&u:
struts.devMode j~CnMKN
Whether Struts is in development mode or not (|gQ
i{8
是否为struts开发模式 )@PnpC%H
L, JQ\!c
struts.dispatcher.parametersWorkaround =!q%
1 mP
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |>.Q U3
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Cp8=8N(Xb
Nwvlv{k'
struts.enable.DynamicMethodInvocation RB 5SK#z
Allows one to disable dynamic method invocation from the URL v pI9TG
允许动态方法调用
Dw-d`8*
vgz`+Zj*S
struts.freemarker.manager.classname "y1Iu
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class YR%iZ"`*+O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 +r:g }iR
dbI>\khI
struts.i18n.encoding .tngN<f
The encoding to use for localization messages ~zVxprEf_
国际化信息内码
hAGHb+:
YH&=cI@
struts.i18n.reload z/@_?01T=
Whether the localization messages should automatically be reloaded 1U 6B$(V^i
是否国际化信息自动加载 7]ieBUfS
$[gN#QW%
struts.locale @:lM|2:
The default locale for the Struts application swKkY`g
默认的国际化地区信息
5)[~
T2j!
f6Qr0Op
struts.mapper.class ZN[<=w&(cB
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \br!77
org.apache.struts2.dispatcher.mapper.ActionMapper接口 rP@#_(22
p>6`jr
struts.multipart.maxSize bO '\QtW9
The maximize size of a multipart request (file upload)
~+q1g[6
multipart请求信息的最大尺寸(文件上传用) 2MkrVQQ9g
{ e|qQ4~h
struts.multipart.parser |VfEp
The org.apache.struts2.dispatcher.multipart. 'h>uR|
MultiPartRequest parser implementation for a multipart request (file upload) @/2Kfr
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (O.%Xbx3
&#r+a'
LQ+/|_(.
struts.multipart.saveDir ?jx]%n fV
The directory to use for storing uploaded files VF]AH}H8I
设置存储上传文件的目录夹 T1LYJ]5
80xr zv
struts.objectFactory _z\/{
The com.opensymphony.xwork2.ObjectFactory implementation class /d`"WK,
com.opensymphony.xwork2.ObjectFactory接口(spring) ^^y eC|~N:
fgLjF,Y
struts.objectFactory.spring.autoWire \}j MC
Whether Spring should autoWire or not _fAgp_)
是否自动绑定Spring Z8$}Rpo
+y7z>Fwl
struts.objectFactory.spring.useClassCache %@$UIO,(
Whether Spring should use its class cache or not 0I}e>]:I
是否spring应该使用自身的cache 'B@`gA
m[hL
GD'Fi
struts.objectTypeDeterminer %!aU{E|@_
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class lu8G$EQI
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rfXxg^
ys_2?uv
struts.serve.static.browserCache Nw;qJ58@
If static content served by the Struts filter should set browser caching header properties or not 0|3I^b
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &|yLTx
IwYeKN6s
struts.serve.static rK3kg2H
Whether the Struts filter should serve static content or not 3jmo[<p*x
是否struts过滤器应该提供静态内容 .@1+}0
c-Lz luWi
struts.tag.altSyntax N& _~y|
Whether to use the alterative syntax for the tags or not Ni$'#
W?t
是否可以用替代的语法替代tags Epzg|L1)
fFQ|dE;cF
struts.ui.templateDir TlG>)Z@/
The directory containing UI templates N&9o 1_}
UI templates的目录夹 2HbnE&
eUPa5{P
struts.ui.theme &L o TO+
The default UI template theme o%d
TcoCN
默认的UI template主题 #Z&/w.D2
1? >P3C
struts.url.http.port nt.LiM/L
The HTTP port used by Struts URLs QX,$JM3
设置http端口 6].[z+
MP]<m7669*
struts.url.https.port Na\ZV|;*tu
The HTTPS port used by Struts URLs j3-YZKpg
设置https端口 `Sod]bO
+U
b3(*/KgK
struts.url.includeParams 9A.RD`fg
The default includeParams method to generate Struts URLs m5Bf<E,c
在url中产生 默认的includeParams z8kO)'
3%WB?kc
]5%0EE64
struts.velocity.configfile Q|y }mC/
The Velocity configuration file path Psb !Z(
velocity配置文件路径 )^(*B6;z5
Zxk~X}K\P
struts.velocity.contexts iL/c^(1
List of Velocity context names UG| /Px ]
velocity的context列表 SZ` 7t=I2
U(&c@u%
%nA})nA7=
struts.velocity.manager.classname F^!D[:;jK
org.apache.struts2.views.velocity.VelocityManager implementation class dFg>uo
org.apache.struts2.views.velocity.VelocityManager接口名 tV}!_
JK,MK|
struts.velocity.toolboxlocation #w$Y1bjn
The location of the Velocity toolbox V&Y`?Edc
velocity工具盒的位置 `Rq=:6U;3
struts.xslt.nocache _nGx[1G( 5
Whether or not XSLT templates should not be cached qGk+4 yC
是否XSLT模版应该被缓存 woI5a ee|