struts2的struts.properties配置文件详解 xLbF9ASim
Vx n-
struts.action.extension 1ww~!R
The URL extension to use to determine if the request is meant for a Struts action _2})URU<S
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ka8=`cn
>BMtR0
struts.configuration ~c=*Y=)LG
The org.apache.struts2.config.Configuration implementation class bOlb
org.apache.struts2.config.Configuration接口名 XOZ@ek)LY
\7(OFT\u:
struts.configuration.files tgrZs8?
A list of configuration files automatically loaded by Struts !6+V
struts自动加载的一个配置文件列表 OH5#.${O
u])MI6LF
struts.configuration.xml.reload I\82_t8
Whether to reload the XML configuration or not ;4vx+> -
是否加载xml配置(true,false) ?l
0WuU
Nu; 9
struts.continuations.package cl'qw##
The package containing actions that use Rife continuations \FIOFbwe
含有actions的完整连续的package名称 z)FGbX
1Dm$:),^T}
struts.custom.i18n.resources HxShNU
Location of additional localization properties files to load
A^pRHbRq
加载附加的国际化属性文件(不包含.properties后缀) V#PT.,Xa.
|uA /72
struts.custom.properties {'zs4)vw
Location of additional configuration properties files to load pmDFmES
加载附加的配置文件的位置 oPA m*
}Do$oyAV$G
V#-8[G6Ra
struts.devMode 4L2TsuLw
Whether Struts is in development mode or not lHgmljn5u
是否为struts开发模式 L3C'q
sGJZG
struts.dispatcher.parametersWorkaround Z@#kivcpz
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g^2H(}frc
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
["Jt2
A@ G%*\UZ
struts.enable.DynamicMethodInvocation ^<e(3S:
Allows one to disable dynamic method invocation from the URL ~,84E [VV
允许动态方法调用 2MKB(;k
9C1\?)"D^e
struts.freemarker.manager.classname l9$"zEC
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [Kanj/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 oSs~*mf
!o`h*G-x
struts.i18n.encoding `c_Wk]i
The encoding to use for localization messages {X&H
国际化信息内码 ,-Yl%R.W=
O ;B[ZMV
struts.i18n.reload }xy[&-dh
Whether the localization messages should automatically be reloaded 6.QzT(
是否国际化信息自动加载 .u9,w
0qo:M3
struts.locale !JwR[X\f
The default locale for the Struts application ~jOk?^6
默认的国际化地区信息 HS
1zA
+@yTcz
struts.mapper.class +zsB ~Vz
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k iY1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 glRHn?p
kCU(Hi`Q
struts.multipart.maxSize :.fm LL
The maximize size of a multipart request (file upload) xAAwH@ +
multipart请求信息的最大尺寸(文件上传用) "?{=|%mf
.|3&lb6
struts.multipart.parser r(c8P6_
The org.apache.struts2.dispatcher.multipart. Wc{/K6]f
MultiPartRequest parser implementation for a multipart request (file upload) H<wkD9v}H5
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q{+Pf/M5
A>J,Bi
I(:d8SF
struts.multipart.saveDir um1xSf1Xv
The directory to use for storing uploaded files A#Jx6T`a
设置存储上传文件的目录夹 #?RT$L>n
i~EFRI@
struts.objectFactory MJI`1*(
The com.opensymphony.xwork2.ObjectFactory implementation class :0j_I\L
com.opensymphony.xwork2.ObjectFactory接口(spring) rIWQD%Afm
m3 W
struts.objectFactory.spring.autoWire 7F wot&