struts2的struts.properties配置文件详解 F^bC!;~x
v<bq1QG
struts.action.extension Im%|9g;P
The URL extension to use to determine if the request is meant for a Struts action
Zzr+p.
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n
m(yFX?=
f"Yj'`6
struts.configuration j{N;2#.u
The org.apache.struts2.config.Configuration implementation class Z'dY,<@
org.apache.struts2.config.Configuration接口名 TuY{c%qQ:
\W;~[-"#
struts.configuration.files }/BwFB+(/
A list of configuration files automatically loaded by Struts ?TLEZlB2"
struts自动加载的一个配置文件列表 0(#HMBE8
pHFlO!#]|
struts.configuration.xml.reload KY/}jJW
Whether to reload the XML configuration or not w~M5)b
是否加载xml配置(true,false) KTxdZt
5}
|O
struts.continuations.package , M$*c
The package containing actions that use Rife continuations SPW @TF1
含有actions的完整连续的package名称 >|SB]'C|
E
}|g3
struts.custom.i18n.resources (WiA
Location of additional localization properties files to load !OM9aITv[
加载附加的国际化属性文件(不包含.properties后缀) \lHi=}0
="
K;3a`GI
struts.custom.properties Pa2HFy2
Location of additional configuration properties files to load ~jAOGo/&6
加载附加的配置文件的位置 =BY)>0?z
B5Rm z&
)xCpQ=nS
struts.devMode ]3hz{zqV^
Whether Struts is in development mode or not I=&5m g=m
是否为struts开发模式 >bxT_qEm
D.)$\Caq
struts.dispatcher.parametersWorkaround ?@Z~i]gE[V
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mH*42XC*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b,5H|$nLu
#{7=
struts.enable.DynamicMethodInvocation vIG8m@-!&;
Allows one to disable dynamic method invocation from the URL Pgf$GXE
允许动态方法调用 f2[z)j7
OTd=(dwh
struts.freemarker.manager.classname |s|>46E
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !Jb?rSJ.h
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4?M=?K0
O;
EI&
struts.i18n.encoding 94I8~Jj4
The encoding to use for localization messages @]tFRV
国际化信息内码 F0:Fv;
'[JrP<~^o
struts.i18n.reload "[@-p
Whether the localization messages should automatically be reloaded 7;KmJ}$
是否国际化信息自动加载 |Z6rP-
T
:CsYj1
struts.locale oju/%ieh
The default locale for the Struts application VY<v?Of
i-
默认的国际化地区信息 ^te9f%>$l
m}6GVQ'Q
struts.mapper.class rS/Q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zb-TCS+3l
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &9PzBc
xuO5|{h
struts.multipart.maxSize N-jFA8n
The maximize size of a multipart request (file upload) TJ7on.;
multipart请求信息的最大尺寸(文件上传用) lE08UEk1i
}txHuq1Q.
struts.multipart.parser 1Y@6oT
The org.apache.struts2.dispatcher.multipart. gj\r>~S
MultiPartRequest parser implementation for a multipart request (file upload) ;3Fgy8T
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eB/3MUz1
VJD$nh
#M5
k]Y+C@g
struts.multipart.saveDir >!A&@1[M
The directory to use for storing uploaded files !l~tBJr*sB
设置存储上传文件的目录夹 &