struts2的struts.properties配置文件详解 MQ44uHJ
kR|y0V {K*
struts.action.extension d3GK.8y_z
The URL extension to use to determine if the request is meant for a Struts action lND[anB!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +b+sQ<w?.
o3=kF
struts.configuration 0, /x#
The org.apache.struts2.config.Configuration implementation class }H=OVbQor
org.apache.struts2.config.Configuration接口名 "> 3@<f>
y~7lug
struts.configuration.files O 0#Jl8
A list of configuration files automatically loaded by Struts Bv8C_-lV/
struts自动加载的一个配置文件列表 p0K;m%
]B4mm__
struts.configuration.xml.reload aTsfl
Whether to reload the XML configuration or not w|C~{
是否加载xml配置(true,false) 7VcVI? ?
Q\L5ZJ%y/
struts.continuations.package \]xYV}(FO
The package containing actions that use Rife continuations 4Z}{hc\J
含有actions的完整连续的package名称 2r,'4%G
: qRT9n$
struts.custom.i18n.resources T;@>O^
Location of additional localization properties files to load Wi^rnr'Ss
加载附加的国际化属性文件(不包含.properties后缀) \aIy68rH,
\BXVWE|
struts.custom.properties p8l#=]\;
Location of additional configuration properties files to load 4- _lf(#i
加载附加的配置文件的位置 31& .Lnq
e6lOmgHn5
zF&UdS3
struts.devMode AF]!wUKxy
Whether Struts is in development mode or not r%d11[z
是否为struts开发模式 /Ph&:n\4
m7vxzC*
struts.dispatcher.parametersWorkaround X vMG09
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9^ p{/Io
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1 ],,
Ar5
fhKiG%i'l
struts.enable.DynamicMethodInvocation 4iqmi<[("
Allows one to disable dynamic method invocation from the URL b6&NzUt34V
允许动态方法调用 D^55:\4(
v&2@<I>
struts.freemarker.manager.classname mwH!:f
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class od*Z$Hb>'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @T1+b"TC
]31XX=
struts.i18n.encoding x}'4^Cv
The encoding to use for localization messages g ypq`F
国际化信息内码 ?7)(qnbe"
3]n@c?lw
struts.i18n.reload AYIz;BmWy
Whether the localization messages should automatically be reloaded ApYud?0b
是否国际化信息自动加载 qO{ ZZ*
%aBJ+V F
struts.locale ~h0BT(p/
The default locale for the Struts application WwtE=od
默认的国际化地区信息 |qcFmy
^z}lGu
struts.mapper.class ,Bw)n,
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T% 13 '
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5!jNL~M
=4<S8Cp
struts.multipart.maxSize <3=qLm
The maximize size of a multipart request (file upload) P3tG#cJ
multipart请求信息的最大尺寸(文件上传用) B36puz 0{
&4&33D
struts.multipart.parser X2dc\v.x
The org.apache.struts2.dispatcher.multipart. rn:zKTyhw
MultiPartRequest parser implementation for a multipart request (file upload) E8_Le
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gT&