struts2的struts.properties配置文件详解 #eEvF
8&Wx@QI
struts.action.extension 02M7gBS
The URL extension to use to determine if the request is meant for a Struts action -Op@y2+c
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XARSGAuw
Ec.)!Hu
struts.configuration jeFN*r_
The org.apache.struts2.config.Configuration implementation class Ar~{= X
org.apache.struts2.config.Configuration接口名 ;G Qm[W([
#_p
struts.configuration.files d<Dn9,G
A list of configuration files automatically loaded by Struts o[{&!t
struts自动加载的一个配置文件列表 ;y>'yq}
g^n;IE$B
struts.configuration.xml.reload 8l?w=)Qy
Whether to reload the XML configuration or not %JaE4&
是否加载xml配置(true,false) [J:zE&aj
h9Z[z73_a
struts.continuations.package EFNdiv$wF
The package containing actions that use Rife continuations bXm:]?
含有actions的完整连续的package名称 Jmy)J!ib*
/MqP[*L
struts.custom.i18n.resources 5Q;dnC
Location of additional localization properties files to load *vXDuhQ
加载附加的国际化属性文件(不包含.properties后缀) _X?y,#
* S{\#s
struts.custom.properties ZK!4>OuH`
Location of additional configuration properties files to load e18T(g_i
加载附加的配置文件的位置 ndB@J*Imu
(Z'WR
dc)wu]
struts.devMode ?9,YVylg
Whether Struts is in development mode or not 7j95"mI
是否为struts开发模式 O{*GW0}55
D~7%};D[
struts.dispatcher.parametersWorkaround d^_itC;-,
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @u<0_r
t
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Hq79/wKj
I(y`)$}
struts.enable.DynamicMethodInvocation >Ziy1Dp
Allows one to disable dynamic method invocation from the URL W|~q<},j
允许动态方法调用 (c
1u{
ScsWnZ
struts.freemarker.manager.classname ,%.:g65%
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?F!W#
org.apache.struts2.views.freemarker.FreemarkerManager接口名 X #H:&*[!
c;nx59w]q
struts.i18n.encoding HI7]%<L
The encoding to use for localization messages ho(5r5SNE
国际化信息内码 "@aq@mY@
S/KVN(Z
struts.i18n.reload \;'_|bu3.
Whether the localization messages should automatically be reloaded '"'D.,[W2
是否国际化信息自动加载 *c!;^Qy p&
r=xTs,xx
struts.locale cYE./1D a
The default locale for the Struts application ;,()wH
默认的国际化地区信息 \=$EmHF
t@l(xns V
struts.mapper.class QZ6[*_Z6
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pE~9o 9
org.apache.struts2.dispatcher.mapper.ActionMapper接口 .ou!g&xu
Ompi~
struts.multipart.maxSize XPGL3[w\V
The maximize size of a multipart request (file upload) hg$qbeUl
multipart请求信息的最大尺寸(文件上传用) &?}kL=
h
"u .)X3
struts.multipart.parser K'a#M g
The org.apache.struts2.dispatcher.multipart. CM+F7#T?n
MultiPartRequest parser implementation for a multipart request (file upload) $,xtif0
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4Z<]4:o
OHx,*}N
\7OJN
~&<
struts.multipart.saveDir H={O13
The directory to use for storing uploaded files rC* sNy2
设置存储上传文件的目录夹 BnKP7e
~.\73_M=A
struts.objectFactory 0BbiQXU
The com.opensymphony.xwork2.ObjectFactory implementation class M63s(f
com.opensymphony.xwork2.ObjectFactory接口(spring) .E?bH V
)x_W&