struts2的struts.properties配置文件详解 -S#jOr
Qb|@DMq%
struts.action.extension i.{.koH<
The URL extension to use to determine if the request is meant for a Struts action Rn)fwGC
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NOmFQ)/ &
nNf*Q
r%Z
struts.configuration *7w!~mn[m
The org.apache.struts2.config.Configuration implementation class aNBwb9X
org.apache.struts2.config.Configuration接口名 B=~uJUr
=b, m31
struts.configuration.files 0g9y4z{H
A list of configuration files automatically loaded by Struts Xk!wT2;
struts自动加载的一个配置文件列表 \-SC-c
%C_c%3d
struts.configuration.xml.reload kbo9nY1k
g
Whether to reload the XML configuration or not &?}A/(#
是否加载xml配置(true,false) nk;^sq4M:
a$\Bt_
struts.continuations.package H@b4(6
The package containing actions that use Rife continuations =RAojoN
含有actions的完整连续的package名称 51tZ:-1!
3m$ck$
struts.custom.i18n.resources s
bd$.6
|&
Location of additional localization properties files to load yb,X
}"Et
加载附加的国际化属性文件(不包含.properties后缀) &8I}q]'k
Sp2DpGs~
struts.custom.properties %CrTO(
Location of additional configuration properties files to load ;2$0j1>
加载附加的配置文件的位置 ?L0 |$#Iw
fs;\_E[)
W_E^+Wl@
struts.devMode )Z1&`rv
Whether Struts is in development mode or not 9aLd!PuTN
是否为struts开发模式 8 yi#] 5`Q
>'W,8F
struts.dispatcher.parametersWorkaround ]xMZo){[|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic JygJ4RI%j
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) VgIk '.
+aL
struts.enable.DynamicMethodInvocation COu5Tu^
Allows one to disable dynamic method invocation from the URL C]8w[)d[`;
允许动态方法调用 , +J)`+pJx
Um\HX6
struts.freemarker.manager.classname 6`Y:f[VB
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X>yDj]*4P
org.apache.struts2.views.freemarker.FreemarkerManager接口名 LEPTL#WT1
r>ed/<_>m;
struts.i18n.encoding i6k6l%
The encoding to use for localization messages au+Jz_$)
国际化信息内码 |yO%w #
T=u"y;&L
struts.i18n.reload }:c~5whN
Whether the localization messages should automatically be reloaded BXU0f%"8U
是否国际化信息自动加载 {g1"{
%m f)BC
struts.locale -O?HfQ
The default locale for the Struts application ]58~b%s
默认的国际化地区信息 3%(r,AD
JD0s0>q_
struts.mapper.class ~Yg)8
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Mz(?_7
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "1^tVw|
9q$^x/z!
struts.multipart.maxSize WHBGhU
The maximize size of a multipart request (file upload) syg{qtBz^
multipart请求信息的最大尺寸(文件上传用) <a$!S
Zl&ED{k<
struts.multipart.parser x3FB`3y~s
The org.apache.struts2.dispatcher.multipart. B *O/>=_
MultiPartRequest parser implementation for a multipart request (file upload) }JST(d&
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H
$Az,-P
oY0b8=[
_F[a2PE2+
struts.multipart.saveDir 1G12FV>M
The directory to use for storing uploaded files @fmp2!?6
设置存储上传文件的目录夹 i0wBZ i?
@d~]3T
struts.objectFactory :Ob^b3<t
The com.opensymphony.xwork2.ObjectFactory implementation class =>c0NT
com.opensymphony.xwork2.ObjectFactory接口(spring) GqsV6kH
'@+q_v@Jl
struts.objectFactory.spring.autoWire Ew{*)r)m
Whether Spring should autoWire or not *&Iv Eu
是否自动绑定Spring ]!sCWR
BC_<1
c
struts.objectFactory.spring.useClassCache k6z
]-XG
Whether Spring should use its class cache or not qS! Lt3+
是否spring应该使用自身的cache ~=c5q
-f ~1Id
struts.objectTypeDeterminer "#gKI/[qxq
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class klAlS%
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +U
J~/XV
ga\s5
struts.serve.static.browserCache \F`>zY2$%
If static content served by the Struts filter should set browser caching header properties or not F7jkl4
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =J)-#|eZG
SC%HHu\l
struts.serve.static hM!g6\ w
Whether the Struts filter should serve static content or not zj2y=A|Y
是否struts过滤器应该提供静态内容 !m~r0M7
%pOxt<
struts.tag.altSyntax 9#1?Pt^{<
Whether to use the alterative syntax for the tags or not s 7wA3|9
是否可以用替代的语法替代tags h@*I(ND<
9]ZfSn)
struts.ui.templateDir .YvIVQ
The directory containing UI templates <m~8pM
UI templates的目录夹 <5j%!6zo
}jC^&%|
struts.ui.theme E A55!
The default UI template theme 0[d*Z
默认的UI template主题 AU)\ lyB
! jApV
struts.url.http.port A#?Cts,M
The HTTP port used by Struts URLs 0Cf'\2
设置http端口 /mp!%j~
h {J io>
struts.url.https.port $Lbamg->E
The HTTPS port used by Struts URLs >#&2 5,Q
设置https端口 n05GM.|*s
K/Y"oQ2
struts.url.includeParams ( 1
The default includeParams method to generate Struts URLs 5c}loOq
在url中产生 默认的includeParams o-&0_Zq_
i9qIaG/
PWp=}f.y
struts.velocity.configfile TYR \K
The Velocity configuration file path x;:jF_
velocity配置文件路径
<6;@@
B0Z>di:
struts.velocity.contexts ~@Bw(!
List of Velocity context names t OJyj49^a
velocity的context列表 = vF!
hg<[@Q%$o
/%jX=S.5h<
struts.velocity.manager.classname m}D;=>2$
org.apache.struts2.views.velocity.VelocityManager implementation class +!ljq~%
org.apache.struts2.views.velocity.VelocityManager接口名 tcl9:2/^]
HEc.3
struts.velocity.toolboxlocation OJA_OqVp$K
The location of the Velocity toolbox '`<Fys&:
velocity工具盒的位置 WPpO(@sn
struts.xslt.nocache W?wt$'
Whether or not XSLT templates should not be cached \I}EWI
是否XSLT模版应该被缓存 .w{Y3,dd>