struts2的struts.properties配置文件详解 H;"4C8K7
h
yIV.W/
struts.action.extension [-x7_=E#
The URL extension to use to determine if the request is meant for a Struts action k;W
XB|k
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `H+lPM66
oL<St$1
struts.configuration K Y^Z
The org.apache.struts2.config.Configuration implementation class "wc<B4"
org.apache.struts2.config.Configuration接口名 2Z%O7V~u
IVmo5,&5(
struts.configuration.files yCo.cd-
A list of configuration files automatically loaded by Struts 6w7 7YTJ
struts自动加载的一个配置文件列表 *z2s$EZ
@%SQFu@FJ
struts.configuration.xml.reload W_ZJ0GuE(
Whether to reload the XML configuration or not @o.I ;}*N
是否加载xml配置(true,false) z?//rXuO
UCWBYC+
struts.continuations.package Ir]\|t
The package containing actions that use Rife continuations S,=|AD
含有actions的完整连续的package名称 M3Kfd
b`_Q8 J
struts.custom.i18n.resources FgO)DQm
Location of additional localization properties files to load _vZOZKS+
加载附加的国际化属性文件(不包含.properties后缀) IGN1gs
B/C,.?Or
struts.custom.properties -F>jIgeC2v
Location of additional configuration properties files to load I}Q2Vu<
加载附加的配置文件的位置 T9& 1VW
wQLSf{2
DTs;{c
struts.devMode +/\6=).\
Whether Struts is in development mode or not ']oQ]Yx0
是否为struts开发模式 {>;R?TG]$
.|=\z9_7S8
struts.dispatcher.parametersWorkaround &.ACd+Cd
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <-0]i_4sK
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 92-I~
!d
{XHh8_^&
struts.enable.DynamicMethodInvocation PaN"sf
Allows one to disable dynamic method invocation from the URL NuI9iU
允许动态方法调用 QCJM&
oXS}IL
og'
struts.freemarker.manager.classname H[|~/0?K
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?1".;foZ
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _XT pU
/7LR;>B j
struts.i18n.encoding -^wl>}#*T3
The encoding to use for localization messages =Runf
+}
国际化信息内码 |&jXp%4T
w=@Dv
struts.i18n.reload YoE3<[KD(
Whether the localization messages should automatically be reloaded JN6B~ZNf
是否国际化信息自动加载 'm9` 12H
uVU)d1N
struts.locale zn(PI3+]!
The default locale for the Struts application Ct|A:/z(
默认的国际化地区信息 A70d\i
`,0}ZzaV&
struts.mapper.class tI{_y
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y!%CffF2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?hM64jI|
/Q )\ +
struts.multipart.maxSize j~QwV='S
The maximize size of a multipart request (file upload) A(N4N
multipart请求信息的最大尺寸(文件上传用) \di=
RGX=)
struts.multipart.parser c"xK`%e
The org.apache.struts2.dispatcher.multipart. yppo6HGD
MultiPartRequest parser implementation for a multipart request (file upload) $7uA%|\
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HorDNRyu
p<;0g9,1
,Lt[\_
struts.multipart.saveDir iyog`s c
The directory to use for storing uploaded files 39jG8zr=Z[
设置存储上传文件的目录夹 -{+}@?
w*MpX
U<
struts.objectFactory wdZ/Xp9]
The com.opensymphony.xwork2.ObjectFactory implementation class #89!'W
com.opensymphony.xwork2.ObjectFactory接口(spring) =rK+eG#,
KY N0
struts.objectFactory.spring.autoWire E~:x(5'%d
Whether Spring should autoWire or not jA/w|\d!
是否自动绑定Spring D,ln)["xm
Q3SS/eNP
struts.objectFactory.spring.useClassCache Y4(
Whether Spring should use its class cache or not K4);HJ|=
是否spring应该使用自身的cache 8x{'@WCG%
bYPK h
struts.objectTypeDeterminer Ic4H# w
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .>nRzgo
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8sCv]|cn
sT' 5%4
struts.serve.static.browserCache ]0\MmAJRn
If static content served by the Struts filter should set browser caching header properties or not O| hpXkV
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +'w3 =2Bo
wa3}SB
struts.serve.static uM'Jp?
Whether the Struts filter should serve static content or not rXU\
是否struts过滤器应该提供静态内容 DFTyMB1H
\^%}M!tan
struts.tag.altSyntax <