struts2的struts.properties配置文件详解 *f? z$46
BDeX5/`U#
struts.action.extension 9 NO^ '
The URL extension to use to determine if the request is meant for a Struts action !w!}`|q
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qOusO6
h|MTE~
struts.configuration lDQ'
The org.apache.struts2.config.Configuration implementation class Zw)*+> +FV
org.apache.struts2.config.Configuration接口名 T.fmEl
FuiEy=+
struts.configuration.files Qe&K
A list of configuration files automatically loaded by Struts scffWqEo
struts自动加载的一个配置文件列表 4TBK:Vm5
{G+pI2^
struts.configuration.xml.reload O%g%*9
Whether to reload the XML configuration or not X/
\5j
是否加载xml配置(true,false) g `)5g5
lE8M.ho\
struts.continuations.package 0{8^)apII
The package containing actions that use Rife continuations AF=9KWqf
含有actions的完整连续的package名称 3N'f Hy
2f%G`4/p
struts.custom.i18n.resources 6%p$C
oR
Location of additional localization properties files to load ^&AhWm7\
加载附加的国际化属性文件(不包含.properties后缀) wc3OOyP@0
HOn,c@.9Y
struts.custom.properties C/JeD-JG
Location of additional configuration properties files to load S~8w- lG!
加载附加的配置文件的位置 &?],uHB?d
$/*6tsR
Tr^Egw]
struts.devMode T[z]~MJL
Whether Struts is in development mode or not ;>eD`Wh
是否为struts开发模式 Myl!tXawe8
6hE. i
x
struts.dispatcher.parametersWorkaround =1JS6~CTLN
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _?vh#6F
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "!9hcv-;
Gj~1eS
struts.enable.DynamicMethodInvocation $#cZJ@;]
Allows one to disable dynamic method invocation from the URL /D]V3|@E
允许动态方法调用 b.`<T"y
d$3;o&VUNI
struts.freemarker.manager.classname eb])=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .HM1c
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y:~A-_
%{fa
.>6
struts.i18n.encoding G2bZl%
,D
The encoding to use for localization messages +>em
!~3
国际化信息内码 :QndeUw
GTj=R$%09
struts.i18n.reload <K~> :4c
Whether the localization messages should automatically be reloaded 9 >t
是否国际化信息自动加载 9@Iz:!oqb
')d&:K*M
struts.locale NF}QQwG3
The default locale for the Struts application SWAggW)
默认的国际化地区信息 -+'fn$
YL )epi^
struts.mapper.class F-\Swbx+
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *h<=
(Y%
org.apache.struts2.dispatcher.mapper.ActionMapper接口 J3]!<v=
>@NH Al
struts.multipart.maxSize uhyw?#f
The maximize size of a multipart request (file upload) 0!D,74r
multipart请求信息的最大尺寸(文件上传用) L[]*vj
v^Eg ,&(
struts.multipart.parser jRswGMx
The org.apache.struts2.dispatcher.multipart. &C~R*
MultiPartRequest parser implementation for a multipart request (file upload) 9`"o,wGX3
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tQSj[Yl
Qy)+YhE
Xq3n7d.
struts.multipart.saveDir =!axQ[)A
The directory to use for storing uploaded files thoAEG80
设置存储上传文件的目录夹 ")/TbTVu
TZ`@pDi
struts.objectFactory egBjr?
The com.opensymphony.xwork2.ObjectFactory implementation class Qz T>h
com.opensymphony.xwork2.ObjectFactory接口(spring) $Hx00
h o
*%G$[=
struts.objectFactory.spring.autoWire }(g`l)OX
Whether Spring should autoWire or not 1g_(xwUp+
是否自动绑定Spring 6sRe. ct<