struts2的struts.properties配置文件详解 2}[rc%tV:?
q1r\60M
struts.action.extension Oq*a4_R'YV
The URL extension to use to determine if the request is meant for a Struts action 5Lum$C
c}
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 36J)O-Ti
mrFMdpaHl%
struts.configuration K._1sOw'"Y
The org.apache.struts2.config.Configuration implementation class ,{J2i#g<
org.apache.struts2.config.Configuration接口名 8}xU]N#EV
2J 9eeN
struts.configuration.files S]<G|mn,
A list of configuration files automatically loaded by Struts hh+GW*'~
struts自动加载的一个配置文件列表 ~>>o'H6
tI.(+-q
struts.configuration.xml.reload g|)e3q{M
Whether to reload the XML configuration or not (niZN_qv
是否加载xml配置(true,false) 9^igzRn0
nqgfAQsE)
struts.continuations.package 3i>$g3G
The package containing actions that use Rife continuations +(PtOo.
含有actions的完整连续的package名称 at7/KuY!~
BAX])~_
struts.custom.i18n.resources bTO$B2eh|
Location of additional localization properties files to load d`({z]W;
加载附加的国际化属性文件(不包含.properties后缀) #0!C3it6c
Y8\Ms^rz
struts.custom.properties \Q^\z
Location of additional configuration properties files to load q?}G?n4
加载附加的配置文件的位置 @m6pAo4P
;wW6x
MAJvjgd..
struts.devMode h2=zvD;
Whether Struts is in development mode or not Qksw+ZjY#{
是否为struts开发模式 ;1(OC-2>d
DgClN:Hw
struts.dispatcher.parametersWorkaround HeSnj-mtr}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7T4rx53
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d[TcA2nF
, LcMNP r
struts.enable.DynamicMethodInvocation SB$~Btr
Allows one to disable dynamic method invocation from the URL H#w?$?nIWu
允许动态方法调用 KgAc0pz{7H
AuO%F
YKY
struts.freemarker.manager.classname 07/5RFmJ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dr'6N1B@
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?ZTB u[
27u$VHwb
struts.i18n.encoding
9FWn
The encoding to use for localization messages dE^(KBF
国际化信息内码 S1$\D!|1
<9@VY
struts.i18n.reload M$! 0ikh
Whether the localization messages should automatically be reloaded \+cQiN b@
是否国际化信息自动加载 Ls|;gewp
35&&*$Jm
struts.locale M{~eI
The default locale for the Struts application >V;<K?5B`W
默认的国际化地区信息 !p0FJ].g,
@M,KA {e
struts.mapper.class Rw$ @%o%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [K"v)B'
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^QYI`u` 4
U$Ew,v<
struts.multipart.maxSize >D-$M_
The maximize size of a multipart request (file upload) /f0_mi,bD
multipart请求信息的最大尺寸(文件上传用) _fMooI)U1
NA0hQGN}
struts.multipart.parser ry7(V:ic
The org.apache.struts2.dispatcher.multipart. K.X% Q,XD
MultiPartRequest parser implementation for a multipart request (file upload) Dtr'X@U
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5O*+5n
i>!f|<
R^PQ`$W 'R
struts.multipart.saveDir *}mtVa_|
The directory to use for storing uploaded files _10#rucr
设置存储上传文件的目录夹 @XmMD6{<