struts2的struts.properties配置文件详解 rWqr-"0S.
kpy)kS
struts.action.extension [g}0.J`_
The URL extension to use to determine if the request is meant for a Struts action Ef@)y&hn
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 VV#'d
#Uep|A
struts.configuration 7Bd=K=3u
The org.apache.struts2.config.Configuration implementation class }jP/XO1f
org.apache.struts2.config.Configuration接口名 IL uQf-
Lo Y*,Aa&
struts.configuration.files +.rE|)BPy
A list of configuration files automatically loaded by Struts LF)wn-C}
struts自动加载的一个配置文件列表 <]_[o:nOP
rmFcSolt,f
struts.configuration.xml.reload ;TK$?hrv*1
Whether to reload the XML configuration or not E70o nR!i
是否加载xml配置(true,false) ^; }Y ZBy
>5TXLOYZ
struts.continuations.package ^4p$@5zH
The package containing actions that use Rife continuations -G'3&L4
D
含有actions的完整连续的package名称 *y` (^kyS
,|;\)tT
struts.custom.i18n.resources m( %PZ*s
Location of additional localization properties files to load D'^%Q_;u
加载附加的国际化属性文件(不包含.properties后缀) c+O:n:L
<xrya_R?
struts.custom.properties fQ-IM/z
Location of additional configuration properties files to load i=hA. y`
加载附加的配置文件的位置 +tG'
@3U=kO(^+\
E8wkqZN
struts.devMode ?(}~[
Whether Struts is in development mode or not ytV[x
是否为struts开发模式 rd24R-6
6\VZ6oS
struts.dispatcher.parametersWorkaround [By|3bI
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j0n.+CO-{
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mtw{7E
-q
nOq[
struts.enable.DynamicMethodInvocation 5yj6MaqJ
Allows one to disable dynamic method invocation from the URL {d)L0KXK
允许动态方法调用 M~y}0Ik
}^b
struts.freemarker.manager.classname o,?h}@
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dl`{:ZR S
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )YZx]6\l)
;<%th
struts.i18n.encoding F[)tg#}@G
The encoding to use for localization messages nyOmNvZf
国际化信息内码 i'1MZ%.
m& D#5C
struts.i18n.reload 23a:q{R
Whether the localization messages should automatically be reloaded vfc,{F=Q
是否国际化信息自动加载 qd~9uo&[Ig
YOA)paq+
struts.locale u%=2g'+)_
The default locale for the Struts application _kBx2>qQ
默认的国际化地区信息 1F+JyZK}w
Ht]O:io`
struts.mapper.class R:f ,g2
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class J: I@kM
org.apache.struts2.dispatcher.mapper.ActionMapper接口 {K:]dO
e+<9Sh7&
struts.multipart.maxSize FMWM:
The maximize size of a multipart request (file upload) Lzcea+*uw
multipart请求信息的最大尺寸(文件上传用) VtGZB3
wLvM<p7OX
struts.multipart.parser M~+DxnJ=
The org.apache.struts2.dispatcher.multipart. sk3AwG;A
MultiPartRequest parser implementation for a multipart request (file upload) d b*J
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9kbczL^Y
:-(qqC:
8q:#
'
struts.multipart.saveDir Ue"pNjd|
The directory to use for storing uploaded files vkeZ!klYB
设置存储上传文件的目录夹 GLMpWD`Wo
+wI<w|!
struts.objectFactory
+AFBTJ
The com.opensymphony.xwork2.ObjectFactory implementation class >Pvz5Hf/wW
com.opensymphony.xwork2.ObjectFactory接口(spring) NYzBfL
x
Ry? f; s
struts.objectFactory.spring.autoWire _sY;
dS/
Whether Spring should autoWire or not ?0qP6'nWx
是否自动绑定Spring x+DecO2
OGG9f??
struts.objectFactory.spring.useClassCache s .+`"rK
Whether Spring should use its class cache or not wti
是否spring应该使用自身的cache wrsr U
${gO=Z
struts.objectTypeDeterminer %36@1l-N
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /w2-Pgm-[\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Zq5~M bldh
MT$)A:"
struts.serve.static.browserCache .1_kRy2*.
If static content served by the Struts filter should set browser caching header properties or not v2="j
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 sa"}9IE*8
X}g3[
struts.serve.static qVjMflVoay
Whether the Struts filter should serve static content or not M5L /3qLh1
是否struts过滤器应该提供静态内容 S,Tc\}
9}H]4"f7
struts.tag.altSyntax nlaW$b{=
Whether to use the alterative syntax for the tags or not F07X9s44E
是否可以用替代的语法替代tags c%1{l]
yhs:.h
struts.ui.templateDir _rmKvSD%
The directory containing UI templates .N`*jT
UI templates的目录夹 bR8`Y(=F9b
:\y' ?d- Q
struts.ui.theme H8 xhE~'t
The default UI template theme Cl{Ar8d}
默认的UI template主题 ''3I0X*!
8IE^u<H(:
struts.url.http.port fPPmUM^C9
The HTTP port used by Struts URLs !SIk9~rJ
设置http端口 n=|% H'U
ZDov2W
struts.url.https.port NCl@C$W9q
The HTTPS port used by Struts URLs /'b7q y
设置https端口
90K&oof?M
HxcL3Bh$~}
struts.url.includeParams =%c\<<]aV
The default includeParams method to generate Struts URLs K9y~
e
在url中产生 默认的includeParams U3Z-1G~*r
=itQ@``r
W|y;Kxy
struts.velocity.configfile k+vfZ9bD(J
The Velocity configuration file path
NRgVNE
velocity配置文件路径 "F6gV;{Bt
sx}S,aIU
struts.velocity.contexts )ax>*
List of Velocity context names b&dv("e
4
velocity的context列表 &b7_%,Bx4
1ANb=X|hig
vm'Z A7f6
struts.velocity.manager.classname QodWUbi'&
org.apache.struts2.views.velocity.VelocityManager implementation class ,>8w|951'
org.apache.struts2.views.velocity.VelocityManager接口名 >?rMMR+A
s~9n13z
struts.velocity.toolboxlocation K1Uq`T J
The location of the Velocity toolbox 1@Ju sS0^K
velocity工具盒的位置 DfP-(Lm)
struts.xslt.nocache R=F_U
Whether or not XSLT templates should not be cached @BF1X.4-+
是否XSLT模版应该被缓存 #sDb611}#