struts2的struts.properties配置文件详解 %TFsk
Fxa{
9'99
struts.action.extension E|9`J00
The URL extension to use to determine if the request is meant for a Struts action =)+^ y}xb
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gH(#<f@ZI
uq]=L
struts.configuration ~s&r.6DW
The org.apache.struts2.config.Configuration implementation class {H,O@
org.apache.struts2.config.Configuration接口名 h$`m0-'
EgG3XhfS
struts.configuration.files !q$VnqFk
A list of configuration files automatically loaded by Struts +Iuu8t
struts自动加载的一个配置文件列表 ^!^M Gzu
uSXnf
struts.configuration.xml.reload 0@?m"|G
Whether to reload the XML configuration or not OH>Gc-V
是否加载xml配置(true,false) 8OOAPp$%|
Mo3%OR
struts.continuations.package #Db^*
The package containing actions that use Rife continuations rEp\ld
含有actions的完整连续的package名称 U:~]>B $
]/h$6mrL
struts.custom.i18n.resources r Yt|[Pk
Location of additional localization properties files to load *Jcd_D\-(1
加载附加的国际化属性文件(不包含.properties后缀) #7 H0I8
+vJ}'uR3P
struts.custom.properties pvsY
0a@4
Location of additional configuration properties files to load lmcgOTT):
加载附加的配置文件的位置 XPrnQJ
`&x>2FJ
L:_{bE|TY
struts.devMode S@pdCH, n
Whether Struts is in development mode or not c[,Rhf
是否为struts开发模式 ~1TT ?H
=W')jKe0
struts.dispatcher.parametersWorkaround t|V5[n!
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j8Q_s/n
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eptw)S-j
XC<'m{^(m
struts.enable.DynamicMethodInvocation \'g7oV;>cI
Allows one to disable dynamic method invocation from the URL wG:RvgX}
允许动态方法调用 <z60EvHg
Wx#l}nD
struts.freemarker.manager.classname ? Lxc1
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z~(X[Zl
:
org.apache.struts2.views.freemarker.FreemarkerManager接口名 JO]?u(m01
19R~&E's
struts.i18n.encoding &to~#.qc
The encoding to use for localization messages U7U&^s6`
国际化信息内码 1h`F*:nva
OSuQ7V
struts.i18n.reload KgYQxEbIW
Whether the localization messages should automatically be reloaded 3bGU;2~}
是否国际化信息自动加载 }Uj-R3]}K
CEkf0%YJ
struts.locale _~1O #*|4
The default locale for the Struts application eCJtNPd
默认的国际化地区信息 <}&J|()
Y[b08{/
struts.mapper.class gZ>&cju
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class n=DmdQ}
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #(}{*dR
FDF DB
struts.multipart.maxSize x/]G"?Uix
The maximize size of a multipart request (file upload) 6E^m*la%
multipart请求信息的最大尺寸(文件上传用) %t* 9sh
JI-.SR
struts.multipart.parser pdN8hJ
The org.apache.struts2.dispatcher.multipart. zO9WqP_`iR
MultiPartRequest parser implementation for a multipart request (file upload) c<q33dZ!*
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |R91|-H
vfT
@;`
iX2exJto
struts.multipart.saveDir KX\=wFbP)
The directory to use for storing uploaded files E rA*a3
设置存储上传文件的目录夹 9;*B*S~znW
OP(om$xm
struts.objectFactory fi'zk
The com.opensymphony.xwork2.ObjectFactory implementation class o6x8jz
com.opensymphony.xwork2.ObjectFactory接口(spring) &sn-;r
u9q#L.Ij
struts.objectFactory.spring.autoWire (@BB@G
Whether Spring should autoWire or not 4Af7x6a;
是否自动绑定Spring HYdt3GtJ?
@~=d4Wj6
struts.objectFactory.spring.useClassCache LkF*$
Whether Spring should use its class cache or not 8rBa}v9
是否spring应该使用自身的cache &-IkM%_A9
NU.4_cixb
struts.objectTypeDeterminer ,{ 0&NX
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class o@$pyU8
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P_Gu~B!Y
/&=y_%VR
struts.serve.static.browserCache { O=_c|u{N
If static content served by the Struts filter should set browser caching header properties or not %Y.@AiViz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {6)H.vpP
6ypHH
2X
struts.serve.static btC<>(kl&
Whether the Struts filter should serve static content or not uu0t}3l
是否struts过滤器应该提供静态内容 NeEV=+<-G
z6qx9x|Ij
struts.tag.altSyntax [p0_I7
Whether to use the alterative syntax for the tags or not 6m(+X
MS
是否可以用替代的语法替代tags %,8
"cM`D
9QF,ynE
struts.ui.templateDir s}gdi
The directory containing UI templates W+V &