struts2的struts.properties配置文件详解 Q54r?|'V
"]T$\PJun
struts.action.extension \TbsoWX
The URL extension to use to determine if the request is meant for a Struts action +5HnZ?E\
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V#NG+U.B
m
ZtvG,
struts.configuration KZF0rW
The org.apache.struts2.config.Configuration implementation class ou'~{-_xd
org.apache.struts2.config.Configuration接口名 VT%
KN`l
gMs+?SNHAh
struts.configuration.files i*S|qX7``
A list of configuration files automatically loaded by Struts CGC-"A/W
struts自动加载的一个配置文件列表 pcy<2UV
5{13V*<
struts.configuration.xml.reload <&5m N
Whether to reload the XML configuration or not =`Po<7D
是否加载xml配置(true,false) X(k{-|9]
KdT[*-
struts.continuations.package Q(510)
The package containing actions that use Rife continuations iuC7Y|
含有actions的完整连续的package名称 u^Nxvx3l0
<vB<`
struts.custom.i18n.resources }bf=Ntk
Location of additional localization properties files to load D<U
9m3
加载附加的国际化属性文件(不包含.properties后缀) b mOqeUgB
OXHvT/L`
struts.custom.properties C$<"w,
Location of additional configuration properties files to load r{\BbUnf)
加载附加的配置文件的位置 uf)W-Er6~
y=AsgJ
NunV8atn:
struts.devMode M{?.hq
Whether Struts is in development mode or not |h&<_9
是否为struts开发模式 "l@A[@R
S&4+ e:K
struts.dispatcher.parametersWorkaround /!3ZW XY\
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S!;LF4VA
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B< |VeU
1 -ZJT
struts.enable.DynamicMethodInvocation }zFf0.82
Allows one to disable dynamic method invocation from the URL Y[Q@WdE9
允许动态方法调用 0K<x=-cCB
`)R?nVb
struts.freemarker.manager.classname D ]OD.
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HA6G)x
org.apache.struts2.views.freemarker.FreemarkerManager接口名 d0(Cn}m"c
mxQR4"]jY
struts.i18n.encoding c$0_R;4/
The encoding to use for localization messages Q>.BQ;q]
国际化信息内码 ^0^(
u
,;_rIO"
struts.i18n.reload t5.`!3EO
Whether the localization messages should automatically be reloaded XrF3kz!44
是否国际化信息自动加载 $<B
+K
1O
|V=K
struts.locale |G(1[RNu
The default locale for the Struts application 8-7dokg>
默认的国际化地区信息 zv //K_
qM%O
struts.mapper.class "EoDQT"0
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3VmI0gsm.>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 b~7Jh:%@;
|6E
.M1
struts.multipart.maxSize %*lp< D
The maximize size of a multipart request (file upload) )QmGsU}?
multipart请求信息的最大尺寸(文件上传用) h#i\iK&A
C+w__gO&r
struts.multipart.parser b1u}fp
GF
The org.apache.struts2.dispatcher.multipart. !
ja[4.
MultiPartRequest parser implementation for a multipart request (file upload) V vu(`9u]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8j%'9vPi
<FY&h#
ncv7t|ZN
struts.multipart.saveDir !z"Nv1!~|
The directory to use for storing uploaded files ?"6Ov ]
设置存储上传文件的目录夹 ) Qq'Wp3i
W>B^S
struts.objectFactory 2i\Q@h
The com.opensymphony.xwork2.ObjectFactory implementation class 17}$=#SX
com.opensymphony.xwork2.ObjectFactory接口(spring) V/PAi.GZ
=SAV|
struts.objectFactory.spring.autoWire dpwD8Q<
U
Whether Spring should autoWire or not !@G)$g=<
是否自动绑定Spring '-vE%U@<
#'@ilk/.
struts.objectFactory.spring.useClassCache P z ?m>>#
Whether Spring should use its class cache or not 38~PWKt
是否spring应该使用自身的cache lWWP03er!
V8hO8
struts.objectTypeDeterminer I&Jt> O4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &