struts2的struts.properties配置文件详解 |>yWkq
>))CXGE
struts.action.extension 2]1u0-M5L
The URL extension to use to determine if the request is meant for a Struts action U.KQjBi
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rUpe ;c
baBBn%_V
struts.configuration W#S8 2
The org.apache.struts2.config.Configuration implementation class W%4=x>J-
org.apache.struts2.config.Configuration接口名 O&1qL)
_bGkJ=
struts.configuration.files <
Hkq
A list of configuration files automatically loaded by Struts B2e"
struts自动加载的一个配置文件列表 /TyGZ@S>m
gs5(~YiT6
struts.configuration.xml.reload ,$0-I@*V
Whether to reload the XML configuration or not } vmRm*8z
是否加载xml配置(true,false) |RFBhB/u
odCt6Du
struts.continuations.package MfP)Pk5
The package containing actions that use Rife continuations PD)"od
含有actions的完整连续的package名称 ,;_+o]
)P$|9<_q7x
struts.custom.i18n.resources tO&ffZP8$
Location of additional localization properties files to load v8)"skVnFG
加载附加的国际化属性文件(不包含.properties后缀) h:nybLw?
fC[za,PXaE
struts.custom.properties EHk\Q\
Location of additional configuration properties files to load HR}O:2'
加载附加的配置文件的位置 DsejZ&
lj (y
H/c
(m|KK
struts.devMode ]3rVULU"K-
Whether Struts is in development mode or not Iko]c_W0
是否为struts开发模式 VG);om7`PD
1@DC#2hPr
struts.dispatcher.parametersWorkaround 9@lWI
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KNUK]i&L
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m[^lu1\wn
qOwql(vX
struts.enable.DynamicMethodInvocation /'+>/
Allows one to disable dynamic method invocation from the URL j{@6y
允许动态方法调用 EU$.{C_O(
Ks-$:~?5":
struts.freemarker.manager.classname j,.\QwpU
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %up?70
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;f[lq^eV
E5w;75,
struts.i18n.encoding 9af.t
The encoding to use for localization messages <Dd>- K
国际化信息内码 +!/ATR%Uci
5o#JHD
struts.i18n.reload 7l D-|yx
Whether the localization messages should automatically be reloaded Nc;O)K!FH
是否国际化信息自动加载 8R,<S-+v
p49]{2GXb
struts.locale =V[uXm
The default locale for the Struts application ~SnUnNDm `
默认的国际化地区信息 j*jUcD*
Z!)~?<gcq:
struts.mapper.class ilA45@
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0NXH449I=
org.apache.struts2.dispatcher.mapper.ActionMapper接口 mQj=-\p
l4OrlS/ 5
struts.multipart.maxSize >]\I:T
The maximize size of a multipart request (file upload) c.ow4~>
multipart请求信息的最大尺寸(文件上传用) i[o 2(d,
s6!6Oqh
struts.multipart.parser !+eH8
The org.apache.struts2.dispatcher.multipart. vADiW~^Q^
MultiPartRequest parser implementation for a multipart request (file upload) #c^V%
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *m~-8_ >;
Vw;Z0_C
'<R>cN"
struts.multipart.saveDir R4m{D
The directory to use for storing uploaded files 5*AXL.2ih
设置存储上传文件的目录夹 Zt `Tg7m
i[v4[C=WB!
struts.objectFactory hF%M!otcJ-
The com.opensymphony.xwork2.ObjectFactory implementation class qt@L&v}~j
com.opensymphony.xwork2.ObjectFactory接口(spring) ]~({;;3o-
m`/Nl<
struts.objectFactory.spring.autoWire 9iA rBL"
Whether Spring should autoWire or not K^Awf6%
是否自动绑定Spring 0l!#u`cCI
Cn{Hk)6
struts.objectFactory.spring.useClassCache l":W@R
Whether Spring should use its class cache or not Ri. tA
是否spring应该使用自身的cache #BC"bY
'nmA!s
struts.objectTypeDeterminer |$RNY``J
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2KlQ[z4Ir
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f"ZlJV a
~}Xus?e
struts.serve.static.browserCache A,}M ^$@
If static content served by the Struts filter should set browser caching header properties or not o).deP
s-
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B5b:znW2@
%6UF%dbYH`
struts.serve.static h>-P /
Whether the Struts filter should serve static content or not TNX9Z)=>g
是否struts过滤器应该提供静态内容 H iyg1
XLNbV?
struts.tag.altSyntax {]0e=#hw
Whether to use the alterative syntax for the tags or not $><