struts2的struts.properties配置文件详解 heoOOP(#
zr@Bf!VG:
struts.action.extension 8=gr F
The URL extension to use to determine if the request is meant for a Struts action C&D]!ZvF
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $D5[12X
;d G.oUk=
struts.configuration TFbCJ@X
The org.apache.struts2.config.Configuration implementation class -aG( Yx
org.apache.struts2.config.Configuration接口名 dgd&ymRm
:
Djx9TBZ5
struts.configuration.files u~<>jAy
A list of configuration files automatically loaded by Struts gJi11^PK
struts自动加载的一个配置文件列表 j{VxB
acB,u&
struts.configuration.xml.reload &=|W95
Whether to reload the XML configuration or not RL~|Kr<7J
是否加载xml配置(true,false) ( f8g}2
$>'}6?C.
struts.continuations.package mhJ>5z
The package containing actions that use Rife continuations pW8pp?
含有actions的完整连续的package名称 9UOx~Ty
1jo.d
struts.custom.i18n.resources Oz^+;P1
Location of additional localization properties files to load ~U*2h =]
加载附加的国际化属性文件(不包含.properties后缀) ^*C6]*C}te
SZg+5MD;X
struts.custom.properties "V~U{(Z
Location of additional configuration properties files to load 6_;3
加载附加的配置文件的位置 xp/u, q
\s&w0V`Y
q "bpI8j
struts.devMode W#e:r z8=
Whether Struts is in development mode or not *Dh.'bB!
是否为struts开发模式 b9EJLD
!f)'+_d
struts.dispatcher.parametersWorkaround }n=Tw92g
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0VoC|,$U
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A42At]
\_@u"+,$W
struts.enable.DynamicMethodInvocation &IT'%*Y:V
Allows one to disable dynamic method invocation from the URL S7aS Ut!
允许动态方法调用 $f1L<euH
DetBZ.
struts.freemarker.manager.classname a&L8W4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1>a^Q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 -2> L*"^
Uo^s]H#:
struts.i18n.encoding kKE2~ q
The encoding to use for localization messages G2a fHL<
国际化信息内码 Iay7Fkv
,-] JCcH
struts.i18n.reload :KX/`
Whether the localization messages should automatically be reloaded XIBw&mWf
是否国际化信息自动加载 Ea\a:
m>:%[vm
struts.locale ddnWr"_
The default locale for the Struts application }C"#b\A2
默认的国际化地区信息 5F^,7A4I0
NWCnt,FlY
struts.mapper.class l[ @\!;|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6J%SkuxR
org.apache.struts2.dispatcher.mapper.ActionMapper接口 XF^c(*5
\`>Y
struts.multipart.maxSize t T-]Vj.
The maximize size of a multipart request (file upload) 6ap,XFRMh
multipart请求信息的最大尺寸(文件上传用) [FiXsYb.8
q6j]j~JxB
struts.multipart.parser 9-Ib+/R0
The org.apache.struts2.dispatcher.multipart. lS?f?n^
MultiPartRequest parser implementation for a multipart request (file upload) MM'<uy
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d/t'N-m
Om}&`AP};
7Fy^K;V"
struts.multipart.saveDir D>G&aQ
The directory to use for storing uploaded files J\;~(:
~
设置存储上传文件的目录夹 b17p;wS
=[1W.Zt
struts.objectFactory c
|C12b[
The com.opensymphony.xwork2.ObjectFactory implementation class KOF! a
com.opensymphony.xwork2.ObjectFactory接口(spring) }a<MVG:>SF
"g=ux^+X\
struts.objectFactory.spring.autoWire <wE2ly&x
Whether Spring should autoWire or not X/7: *
是否自动绑定Spring cK-!Evv
zLxWyPM0;
struts.objectFactory.spring.useClassCache {'!D2y.7g
Whether Spring should use its class cache or not Do_L
是否spring应该使用自身的cache ^f`#8G7 (
VwC,+B
struts.objectTypeDeterminer jC\R8_
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
}U^9(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =<e# 2
ZgXh[UHQy
struts.serve.static.browserCache H}U&=w'
If static content served by the Struts filter should set browser caching header properties or not |LNXu
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l^Lg"m2
]iz5VI@
struts.serve.static AOWI`
Whether the Struts filter should serve static content or not t?0=;.D
是否struts过滤器应该提供静态内容 Nc"h8p?
fA3
struts.tag.altSyntax b-O4IDIT
Whether to use the alterative syntax for the tags or not ^k)f oD
是否可以用替代的语法替代tags *Lh0E/5
<0kRky$
struts.ui.templateDir n[iil$VKh
The directory containing UI templates {M%"z,GL7J
UI templates的目录夹 hD$U8~zK
vuAAaKz
struts.ui.theme 9J|YP}%
The default UI template theme "3^6
默认的UI template主题 9J%>2AA
Y]Fq)-
struts.url.http.port 7=<PVJ*/
The HTTP port used by Struts URLs K^w9@&