struts2的struts.properties配置文件详解 ufocj1IU
1-sG`%
struts.action.extension j;EH[3
The URL extension to use to determine if the request is meant for a Struts action }(9ZME<(
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ` c"
(JT
273
struts.configuration Pk`3sfz
The org.apache.struts2.config.Configuration implementation class 7DWGYvv[
org.apache.struts2.config.Configuration接口名 U<6+2y P
9[:TWvd
struts.configuration.files WIw*//nw
A list of configuration files automatically loaded by Struts 5p~hUP]tT
struts自动加载的一个配置文件列表 %0%Tp
tcJN`N
struts.configuration.xml.reload jaQH1^~l/-
Whether to reload the XML configuration or not 1;~|[C
是否加载xml配置(true,false) HnKXO
sL#MYW5E
struts.continuations.package
,: qk+
The package containing actions that use Rife continuations sY&Z/Y
含有actions的完整连续的package名称 vywpX^KPv
9<5S!?JL
struts.custom.i18n.resources pL2{zW`FDh
Location of additional localization properties files to load nPUD6<bF
加载附加的国际化属性文件(不包含.properties后缀) #cqI0ny?G
I
MG^L
struts.custom.properties /])P{"v$^
Location of additional configuration properties files to load U.N?cKv
加载附加的配置文件的位置 *rA]q' jM
6>z,7 [
/Edq[5Ah
struts.devMode A}(o1wuw
Whether Struts is in development mode or not H`rd bE
是否为struts开发模式 (btmg<WT"
m{r#o?
struts.dispatcher.parametersWorkaround +9B .}t#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]l,,en5V
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KY\=D 2m
<,y> W!
struts.enable.DynamicMethodInvocation sEi9<$~R@0
Allows one to disable dynamic method invocation from the URL ZKai*q4?
允许动态方法调用 sGc.;":
Hz>Dp
!
struts.freemarker.manager.classname jW>K#vj
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "NTiQ}i
org.apache.struts2.views.freemarker.FreemarkerManager接口名 gmZ] E45
\85~~v@
struts.i18n.encoding 664D5f#EJ
The encoding to use for localization messages }lGui>/D
国际化信息内码 7 4]qz,
Zr[B*1,ZV
struts.i18n.reload `Ay:;I
Whether the localization messages should automatically be reloaded mp
z3o\n
是否国际化信息自动加载 ~JO.h$1C
>~_)2_j
struts.locale eg24.W9c
The default locale for the Struts application aP#/%
默认的国际化地区信息 Q"H/RMo-
I:("f+
H
struts.mapper.class DKF
'*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5<YL^m{/L
org.apache.struts2.dispatcher.mapper.ActionMapper接口 t8`wO+4@
;*0?C'h=
struts.multipart.maxSize !@ {sM6U
The maximize size of a multipart request (file upload) 45WJb+$
multipart请求信息的最大尺寸(文件上传用) fg4mP_
K|I<kA~!H
struts.multipart.parser |qBcE
The org.apache.struts2.dispatcher.multipart. JX{_,2*$
MultiPartRequest parser implementation for a multipart request (file upload) ]'pL*&"X
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M~~)tJYsu
UqNUX?(
n}c~+0`un
struts.multipart.saveDir gU1Pb]]
The directory to use for storing uploaded files L@Q+HN
设置存储上传文件的目录夹 ?$l|];m)-
1xInU_SPf
struts.objectFactory %`YR+J/V
The com.opensymphony.xwork2.ObjectFactory implementation class =}.gU WV
com.opensymphony.xwork2.ObjectFactory接口(spring) P>(FCX
;; ;=)'o
struts.objectFactory.spring.autoWire ?:G 3U\M
Whether Spring should autoWire or not buT6)~lw
是否自动绑定Spring c3r`T{Kf
AREjS$
struts.objectFactory.spring.useClassCache s;$f6X
Whether Spring should use its class cache or not `46z D
?
是否spring应该使用自身的cache f+8 QAvh
'gHg&E9E&
struts.objectTypeDeterminer \`E^>6!]q
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ov^##E
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~H1<