struts2的struts.properties配置文件详解 |Mq+QDTTw~
TN0KS]^A3
struts.action.extension Bu(51wU8
The URL extension to use to determine if the request is meant for a Struts action U=G49~E
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qi4P(s-i
Mh7m2\fLbd
struts.configuration yiZtG#6K{
The org.apache.struts2.config.Configuration implementation class m;dwt1'Zw
org.apache.struts2.config.Configuration接口名 >R F|Q
2$Mnwxfk
struts.configuration.files >$ZG=&
A list of configuration files automatically loaded by Struts oN1D&*
struts自动加载的一个配置文件列表 Wi&v?nm
}Z"iW/?"
struts.configuration.xml.reload -$Z1X_~;)<
Whether to reload the XML configuration or not !rUP&DA
是否加载xml配置(true,false) 6YM X7G]
iqDyE*a
struts.continuations.package 6HY): M&?
The package containing actions that use Rife continuations efQ8jO
含有actions的完整连续的package名称 @)U.Dbm
5%Qxx\q
struts.custom.i18n.resources *2zp>(%
Location of additional localization properties files to load BmX'%5ho
加载附加的国际化属性文件(不包含.properties后缀) MLWHO$C~T
N1~bp?$1
struts.custom.properties ^j\LB23
Location of additional configuration properties files to load }emUpju<C
加载附加的配置文件的位置 7_\sx7h{3
z)3TB&;
1q7&WG
struts.devMode 7S{qo&j'
Whether Struts is in development mode or not L"bJ#0m
是否为struts开发模式 fa/S!%}fO
\(\a=
struts.dispatcher.parametersWorkaround O@Aazc5K
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q|D5
A|)
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XKjrS
9:
Ljy797{f
struts.enable.DynamicMethodInvocation *E/Bfp1LIe
Allows one to disable dynamic method invocation from the URL [9">}l
允许动态方法调用 LIID(s!bX
>G5aFk
struts.freemarker.manager.classname yvB]rz} i
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K3!3[dR*
org.apache.struts2.views.freemarker.FreemarkerManager接口名 @Go_5X(
:TQp,CEa
struts.i18n.encoding Ixxs(
The encoding to use for localization messages Pm/<^z%
国际化信息内码 *I]]Ogpq=
ftYJ 3/ WH
struts.i18n.reload H~j@n!)
Whether the localization messages should automatically be reloaded jSem/;
是否国际化信息自动加载 Av.tr&ZNb
Y7t#)?
struts.locale A 6S0dX
The default locale for the Struts application ='m$O
默认的国际化地区信息 /z-rBfdy^
k)b{UFRW
struts.mapper.class 7h
54j
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W[&nQW$E
org.apache.struts2.dispatcher.mapper.ActionMapper接口 <&E}db
=2p?_.|'
struts.multipart.maxSize (kxS0 ]=
The maximize size of a multipart request (file upload) o,rF 15
multipart请求信息的最大尺寸(文件上传用) KR?;7*qF
(K[{X0T
struts.multipart.parser eft=k}
The org.apache.struts2.dispatcher.multipart. =!\Nh,\eQ
MultiPartRequest parser implementation for a multipart request (file upload) %%NoXW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eQ>Ur2H8n
p'h'Cz
_5p$#U`
struts.multipart.saveDir g6Vkns4
The directory to use for storing uploaded files "|3I|#s
设置存储上传文件的目录夹 S\:^#Yi`
|=}+%>y_
struts.objectFactory &ivU4rEG
The com.opensymphony.xwork2.ObjectFactory implementation class Ux_tzd0!
com.opensymphony.xwork2.ObjectFactory接口(spring) |Rfj
0+
lO-DXbgql$
struts.objectFactory.spring.autoWire xv]z>4@z,
Whether Spring should autoWire or not :4{
`c.S
是否自动绑定Spring E/:U,u{
|#yu
struts.objectFactory.spring.useClassCache %],BgLhS.
Whether Spring should use its class cache or not )O[8 D
是否spring应该使用自身的cache rp@:i _]
|nQfgl=V
struts.objectTypeDeterminer 3WwS+6R
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Dge#e
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;dzy5o3
!BoGSI
struts.serve.static.browserCache !`{?qQ[=
If static content served by the Struts filter should set browser caching header properties or not XVs]Y'*x
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &[d'g0pF
p cLKE
ZK
struts.serve.static 0!\gK<,z
Whether the Struts filter should serve static content or not \lK?f] qJq
是否struts过滤器应该提供静态内容 L~&S<5?
fJLl-H
struts.tag.altSyntax g}+|0FTV
Whether to use the alterative syntax for the tags or not ;<FAcR
是否可以用替代的语法替代tags %j&vV>2
c^W;p2^
struts.ui.templateDir q-z1ElrN7u
The directory containing UI templates &y_t,8>5
UI templates的目录夹 ?\\wLZ
)?jFz'<r
struts.ui.theme 2* g2UP
The default UI template theme k4sV6f
默认的UI template主题 ^2'Y=g>
<f7 O3 >
struts.url.http.port .BPd06y
The HTTP port used by Struts URLs 0ca0-vY
设置http端口 mlByE,S2E
t!\aDkxo %
struts.url.https.port w[z=x
The HTTPS port used by Struts URLs C@qWour
设置https端口 EE'2<"M
?A@y4<8R|
struts.url.includeParams :j]6vp6
The default includeParams method to generate Struts URLs ,ojJ;w5D
在url中产生 默认的includeParams I{$suPk
NCk-[I?R
,3?=W/Um4
struts.velocity.configfile 8O^x~[sQ
The Velocity configuration file path >M5}L<
velocity配置文件路径
f,O10`4s
XoyxS:=>|[
struts.velocity.contexts :cA P{rSe
List of Velocity context names a#1r'z~]}
velocity的context列表 KGJSGvo+y
0L>3i8'
@ 51!3jeu
struts.velocity.manager.classname H
r:*p6
org.apache.struts2.views.velocity.VelocityManager implementation class ~|KqG
org.apache.struts2.views.velocity.VelocityManager接口名 R6<'J?k
ho>@ $9
struts.velocity.toolboxlocation !8p>4 |VM
The location of the Velocity toolbox s`x2Go
velocity工具盒的位置 %/2
` u
struts.xslt.nocache `*U@d%a
Whether or not XSLT templates should not be cached 0j$=KA
是否XSLT模版应该被缓存 gNr4oOR{