struts2的struts.properties配置文件详解 [&|Le;h
Y'i0=w6G
struts.action.extension V2g,JFp&
The URL extension to use to determine if the request is meant for a Struts action @ \J R xJ
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /%po@Pm#I
`!S5FE"-
struts.configuration /D`M?nD7
The org.apache.struts2.config.Configuration implementation class sSd
org.apache.struts2.config.Configuration接口名 )MZ]c)JD^
NLyvi,svS
struts.configuration.files M$ep.<Z1|
A list of configuration files automatically loaded by Struts .{k(4_Q?I
struts自动加载的一个配置文件列表 TP{lt6wws(
a3?Dtoy'
struts.configuration.xml.reload -b~MQ/,2
Whether to reload the XML configuration or not ih.UzPg
是否加载xml配置(true,false) z{d] ,M
T?!^-PD9*
struts.continuations.package ehtiu!Vk
The package containing actions that use Rife continuations (M4~N)7<P5
含有actions的完整连续的package名称 >C+0LF`U
3:<+9X
struts.custom.i18n.resources Ky|Hi3?
Location of additional localization properties files to load Jme}{!3m
加载附加的国际化属性文件(不包含.properties后缀) B/q/sC
kF3 EJ
struts.custom.properties 8R`@edj>
Location of additional configuration properties files to load |2CW!is
加载附加的配置文件的位置 (6A>:_)
7IBm(#
l~Kn-S{
struts.devMode ]w]Swt2n
Whether Struts is in development mode or not VXQS~#dQj
是否为struts开发模式 T~s/@*y9
_bqiS]:
struts.dispatcher.parametersWorkaround -))>7skc
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [POcO
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) YP>VC(f
cx|[P6d
struts.enable.DynamicMethodInvocation j8zh^q
Allows one to disable dynamic method invocation from the URL -?e~dLu
允许动态方法调用 cNw<k&w6F
Yk(OVl T
struts.freemarker.manager.classname Bh:AY@k
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j8?$Hk
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q&(?D
W2|*:<Jt
struts.i18n.encoding CWE
jX-
The encoding to use for localization messages eM/|"^%
国际化信息内码 \cPGyeq
`PSr64h:D
struts.i18n.reload Y((z9-`
Whether the localization messages should automatically be reloaded *u>2" !+Ob
是否国际化信息自动加载 eG|e1t K+
-yg9ug
struts.locale _E)xR
The default locale for the Struts application \9Itu(<f
默认的国际化地区信息 h?.6e9Y4
m{mK;D
struts.mapper.class +
h`:qB
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yZxgUF&`
org.apache.struts2.dispatcher.mapper.ActionMapper接口 wz.Il-sm
]O<Yr'
struts.multipart.maxSize ]SBv3Q0D7
The maximize size of a multipart request (file upload) 3Aaj+=]W
multipart请求信息的最大尺寸(文件上传用) NTXT0:
;&WN%L*
struts.multipart.parser }tft@,dIC
The org.apache.struts2.dispatcher.multipart. q]<Xx{_
MultiPartRequest parser implementation for a multipart request (file upload) ~Az20RrK)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ETH`.~%
j!mI9*hP
aP8Im1<A
struts.multipart.saveDir )7q;Fm_/
The directory to use for storing uploaded files g]$>G0E`oD
设置存储上传文件的目录夹 dulW!&*No
$msT,$NJ
struts.objectFactory da\K>An>
The com.opensymphony.xwork2.ObjectFactory implementation class s?~Abj_
com.opensymphony.xwork2.ObjectFactory接口(spring) dT/Cn v=
uz>s2I}B
struts.objectFactory.spring.autoWire m{pL<
g^M
Whether Spring should autoWire or not (oq(-Wv
是否自动绑定Spring @WhcY*R2
akm) X0!-}
struts.objectFactory.spring.useClassCache xVfJ]Y
Whether Spring should use its class cache or not QlJCdCSy
是否spring应该使用自身的cache "uGJ\
J9/9k
struts.objectTypeDeterminer s]L`&fY]O
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?U|~h1
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }-zx4<4BH
YH':cze
struts.serve.static.browserCache !\y_ik
If static content served by the Struts filter should set browser caching header properties or not C1p
|.L?m
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v&H&+:<
fQ#mx.|8y
struts.serve.static &^9f)xb
Whether the Struts filter should serve static content or not cJ!wZT`
是否struts过滤器应该提供静态内容 70HEu@-
}xLwv=Ia
struts.tag.altSyntax 8k_,Hni
Whether to use the alterative syntax for the tags or not SwC,=S
是否可以用替代的语法替代tags *sAoYx
xhUQ.(S`r6
struts.ui.templateDir 8Y5*
1E*
The directory containing UI templates rRT9)wDa
UI templates的目录夹 b\=0[kBQw
;a{ Dr
struts.ui.theme C9gF2ii|?
The default UI template theme deHBY4@
默认的UI template主题 ywq{9)vq
Esw&ScBOP