struts2的struts.properties配置文件详解 i9zh
X1#
,hu@V\SKv
struts.action.extension iAQ[;M3p
The URL extension to use to determine if the request is meant for a Struts action XVt;hO
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vT0Op e6m
-%Vh-;Ie(
struts.configuration D{Nd2G
The org.apache.struts2.config.Configuration implementation class __xmn{{L6P
org.apache.struts2.config.Configuration接口名 m jP
p@%Pdx
struts.configuration.files .tLRY
A list of configuration files automatically loaded by Struts &! h~UZ
struts自动加载的一个配置文件列表 ;"0bVs`.^e
fsPNxy"_
struts.configuration.xml.reload y>0 @.
Whether to reload the XML configuration or not H @k}
是否加载xml配置(true,false) hG.}>(VV
D((/fT)eD
struts.continuations.package *Vq'%b9
The package containing actions that use Rife continuations (^FMm1@T
含有actions的完整连续的package名称 BM:p)%Pv#P
53:u6bb;
struts.custom.i18n.resources ^_Lnqk6
Location of additional localization properties files to load 9ThsR&h3
加载附加的国际化属性文件(不包含.properties后缀) %A~. NNbS
xj U0&
struts.custom.properties Y=<ABtertS
Location of additional configuration properties files to load /<LjD
加载附加的配置文件的位置 uKXU.u*C
!gRU;ZQU_
q1 q~%+Jy
struts.devMode sq#C|v/
Whether Struts is in development mode or not ,e1c,}
是否为struts开发模式 ,/Gp>Yqx
3=ME$%f
struts.dispatcher.parametersWorkaround (AZneK
:*
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }])j>E
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E#m^.B-}
w/o8R3F
struts.enable.DynamicMethodInvocation /rD9)
Allows one to disable dynamic method invocation from the URL OI)k0t^;D
允许动态方法调用 `O3#/1+
n~`jUML2d
struts.freemarker.manager.classname -M]/Xv]
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #oEtLb@O
org.apache.struts2.views.freemarker.FreemarkerManager接口名 i`CNgScF>
w\d1
struts.i18n.encoding MJe/ \
The encoding to use for localization messages ?P7QAolrr
国际化信息内码 S?v;+3TG
fvTp9T\f3
struts.i18n.reload :k.>H.8+~
Whether the localization messages should automatically be reloaded ]nIVP
是否国际化信息自动加载 O>rz+8 T
DP*V|)
struts.locale r7U[QTM%
The default locale for the Struts application Q"pZPpl&
默认的国际化地区信息 E(S$Q^
;erxB6*
struts.mapper.class vy5{Vm".4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =hh,yi
org.apache.struts2.dispatcher.mapper.ActionMapper接口 A#~CZQY^$
REJBm
struts.multipart.maxSize M#],#o*G
The maximize size of a multipart request (file upload) Pa\yp?({q
multipart请求信息的最大尺寸(文件上传用) y>UQm|o<W
sV~|9 /r
struts.multipart.parser K^AIqL8
The org.apache.struts2.dispatcher.multipart. 0#ePg6n
MultiPartRequest parser implementation for a multipart request (file upload) I%{D5.du
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) x?R1/iHv
czo*_q%
QA!'p1{#
struts.multipart.saveDir y3'K+?4
The directory to use for storing uploaded files @DR?^
q p
设置存储上传文件的目录夹 GV)DLHiyxX
]ao%9:P;
struts.objectFactory G"<} s
mB
The com.opensymphony.xwork2.ObjectFactory implementation class ''EFh&F
com.opensymphony.xwork2.ObjectFactory接口(spring) |2X+( F Ed
=WFG[~8
struts.objectFactory.spring.autoWire QN~9O^
Whether Spring should autoWire or not gAGcbepX
是否自动绑定Spring /EM=!@ka
+r =p,leb
struts.objectFactory.spring.useClassCache 5@Xy) z
Whether Spring should use its class cache or not s)~H_,
是否spring应该使用自身的cache ?B4X&xf.D
,n{|d33
struts.objectTypeDeterminer CM%;r5
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &