struts2的struts.properties配置文件详解 #E+gXan
V0(o~w/W%!
struts.action.extension za9)Q=6FD
The URL extension to use to determine if the request is meant for a Struts action ww{_c]My
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W$o27f
NU\
5{N<
struts.configuration >'5_Y]h4m|
The org.apache.struts2.config.Configuration implementation class 8W+gl=C~
org.apache.struts2.config.Configuration接口名 `)h6j)xiQ
@@g\2Gs
struts.configuration.files <uk1?Qg
A list of configuration files automatically loaded by Struts 5,;`$'?a%
struts自动加载的一个配置文件列表 a7/-wk
%YlTF\-
struts.configuration.xml.reload n1:v HBM@\
Whether to reload the XML configuration or not -,":5V26
是否加载xml配置(true,false) i"^<CR@e
;;gK@?hJ
struts.continuations.package ]`w}+B'/
The package containing actions that use Rife continuations \Z-2leL)j
含有actions的完整连续的package名称 :H[\;Z1_
f.pkQe(
struts.custom.i18n.resources `Xcirfp
Location of additional localization properties files to load QI!i
加载附加的国际化属性文件(不包含.properties后缀) #S+Z$DQD
7yiJ1K<bIt
struts.custom.properties m^\TUj
Location of additional configuration properties files to load 4`2$_T$F
加载附加的配置文件的位置 P8gXCX!>U
gKb0)4 AK
88a<{5
:z
struts.devMode e}cnX`B
Whether Struts is in development mode or not Hwe)Tsh e
是否为struts开发模式 s3lwu :4f
@#b0T:+v'
struts.dispatcher.parametersWorkaround mg+k'Myo+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~HUZ#rUHm>
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9 K
K2/E#}/
struts.enable.DynamicMethodInvocation f!-Sz/ c#
Allows one to disable dynamic method invocation from the URL Gwd{#7FM`
允许动态方法调用 oBlzHBn>0
8!h'j
struts.freemarker.manager.classname ._p""'Sa
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \w)?SVp
org.apache.struts2.views.freemarker.FreemarkerManager接口名 76#.F
*"G 8
struts.i18n.encoding N^elVu4 K
The encoding to use for localization messages ^4`&EF
国际化信息内码 _&
4its
^ZQCIS-R
struts.i18n.reload LEc8NQs
Whether the localization messages should automatically be reloaded DQ=N1pft2v
是否国际化信息自动加载
A@$fb}CF
iIU(
C.I
struts.locale Gbd?%{Xc-
The default locale for the Struts application 3BMS_,P
默认的国际化地区信息 R~B0+ :6
udT xNl!
struts.mapper.class 6|;0ax4:P
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `f ' C[a"
org.apache.struts2.dispatcher.mapper.ActionMapper接口 fEu9Jk
+>3]%i-\
struts.multipart.maxSize It
2UfW
The maximize size of a multipart request (file upload) qZG-Lh
multipart请求信息的最大尺寸(文件上传用) ,p,Du
F
U=o Z.\
struts.multipart.parser a0zG(7.D
The org.apache.struts2.dispatcher.multipart. NR/-m7#-
MultiPartRequest parser implementation for a multipart request (file upload) | Odu4 Q
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .Y/-8H-3v
m(3);)d
4IGxI7~27#
struts.multipart.saveDir T=?
bdIl
The directory to use for storing uploaded files .{N\<