struts2的struts.properties配置文件详解 jmIP c3O0
fTeo,N
struts.action.extension Hq9(6w9w
The URL extension to use to determine if the request is meant for a Struts action ?`r/_EKNv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,]d}pJ}PX`
MS b{ve_
struts.configuration YS]RG/'
The org.apache.struts2.config.Configuration implementation class x.q%O1
org.apache.struts2.config.Configuration接口名 l^_X?L@
li{_biey}
struts.configuration.files A!J5Wz>Q5
A list of configuration files automatically loaded by Struts i8{jMe!Sa
struts自动加载的一个配置文件列表 ei5 S <n
!xvPG
struts.configuration.xml.reload WO{N@f^
Whether to reload the XML configuration or not DW-LkgfA
是否加载xml配置(true,false) 84{<]y
\!PC:+uJ
struts.continuations.package +)|2$$m
The package containing actions that use Rife continuations OjCT%6hy;
含有actions的完整连续的package名称 YPM>FDxDB
ReRRFkO"2
struts.custom.i18n.resources J kA~Ol
Location of additional localization properties files to load MMf6QxYf
加载附加的国际化属性文件(不包含.properties后缀)
`DwlS!0
\u*,~J)z
struts.custom.properties 3w@)/ujn
Location of additional configuration properties files to load UJZa1p@L
加载附加的配置文件的位置 _CZ* z
:!/}*B
]oY~8HW
struts.devMode }bHpFe
Whether Struts is in development mode or not Qknd ^%
是否为struts开发模式 'Go'87+`
l}wBthwCc
struts.dispatcher.parametersWorkaround kA3kh`l
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X#o:-FKf
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J7xZo=@k
&a0%7ea`.S
struts.enable.DynamicMethodInvocation bw4b'9cK
Allows one to disable dynamic method invocation from the URL cqq+#39iC
允许动态方法调用 ?SpI^Wn)[
:G-1VtE n
struts.freemarker.manager.classname FYj3!
H
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class k >MgrtJI
org.apache.struts2.views.freemarker.FreemarkerManager接口名 g&[g?L
%9Ue`8
struts.i18n.encoding qM`SN4C
The encoding to use for localization messages 6y0C
国际化信息内码 6->b(B V
$
L{=z}QO
struts.i18n.reload QSLDA`
Whether the localization messages should automatically be reloaded @s/ qOq?
是否国际化信息自动加载 nO/5X>A,Zw
$p0s
struts.locale 2H /a&uo@n
The default locale for the Struts application
SX4p(t
默认的国际化地区信息 nMnc&8r
AE$)RhY`
struts.mapper.class 7%<jZ=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (-#{qkA
org.apache.struts2.dispatcher.mapper.ActionMapper接口 3S9~rLrn?
S\,{qhd
struts.multipart.maxSize %`TLs^
The maximize size of a multipart request (file upload) q8D1MEBL`
multipart请求信息的最大尺寸(文件上传用) Yv;aQF"a
EAI[J&c
struts.multipart.parser A gPg0(G
The org.apache.struts2.dispatcher.multipart. :JS}(
MultiPartRequest parser implementation for a multipart request (file upload) WS(c0c
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F&P)mbz1
k9,"`dk@
]+Vcu zq/
struts.multipart.saveDir NX;&V7
The directory to use for storing uploaded files HT]ubw]rJ
设置存储上传文件的目录夹 j Hzy1P{?
%(]rc%ry0
struts.objectFactory \Q$);:=qQ
The com.opensymphony.xwork2.ObjectFactory implementation class /?GBp[(0
com.opensymphony.xwork2.ObjectFactory接口(spring) jyC6:BNust
~!;3W!@(E
struts.objectFactory.spring.autoWire >"[u.1J_'I
Whether Spring should autoWire or not rQqtejcfx
是否自动绑定Spring NWvxbv
DkIkiw{L
struts.objectFactory.spring.useClassCache 7'I7
Whether Spring should use its class cache or not RoTT%c P_
是否spring应该使用自身的cache E=E<l?ob
c1^3lgPv
struts.objectTypeDeterminer 87Kx7CKF"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class GyCpGP|AZ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .DQ]q o]OG
-'(:Sq,4o
struts.serve.static.browserCache ;1%a:#5
If static content served by the Struts filter should set browser caching header properties or not . ~<+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )N/KQ[W
by<2hLB9Q
struts.serve.static E;sltl
Whether the Struts filter should serve static content or not N9Ml&*%oX{
是否struts过滤器应该提供静态内容 !S:@x.n@iR
UXP;'
struts.tag.altSyntax b$`O|S
Whether to use the alterative syntax for the tags or not OK 6}9Eu9
是否可以用替代的语法替代tags <'-me09C*
v<wT`hiKW
struts.ui.templateDir Oc.>$
The directory containing UI templates dUZ&T