struts2的struts.properties配置文件详解 J@4,@+X
]B'H(o
R<|
struts.action.extension V1= (^{p8
The URL extension to use to determine if the request is meant for a Struts action G1`H
H&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Dn9AOi!
c~=yD:$
struts.configuration R8K?!Z
The org.apache.struts2.config.Configuration implementation class GA.4'W^&a
org.apache.struts2.config.Configuration接口名 4 -dV%DgC
F#az&
struts.configuration.files Om/mpU/U
A list of configuration files automatically loaded by Struts oO8opS7F
struts自动加载的一个配置文件列表 v8y !zo'
j0~dJ#
struts.configuration.xml.reload d6f T
Whether to reload the XML configuration or not rNoCmNm
是否加载xml配置(true,false) DP.Y<V)B
{
V$}qa{P
struts.continuations.package }F';"ybrU)
The package containing actions that use Rife continuations XE$;Z'Qhjm
含有actions的完整连续的package名称 -7IRlP&
"H\R*\-0
struts.custom.i18n.resources 2@Zw#2|]
Location of additional localization properties files to load 717OzrF}A?
加载附加的国际化属性文件(不包含.properties后缀) 8
+mW
n+1`y8dy
struts.custom.properties Hbl&)!I
Location of additional configuration properties files to load P#9Pq,I
加载附加的配置文件的位置 b=kY9!GN,v
Fu>;hx]s
2i$_ ,[fi
struts.devMode q\/xx`L
Whether Struts is in development mode or not l:OXxHxRi
是否为struts开发模式 b( ~#CHg
KP_7h/e
struts.dispatcher.parametersWorkaround tN;^{O-(V
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uBw[|,yn2*
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) MM*9Q`cB
(_R!:H(]m
struts.enable.DynamicMethodInvocation N>w+YFM
Allows one to disable dynamic method invocation from the URL 3$3%W<&^
允许动态方法调用 ma6Wr !J
{S`Rr/E|%
struts.freemarker.manager.classname j>3Fwg9V
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class o QR?H
org.apache.struts2.views.freemarker.FreemarkerManager接口名 P! P` MX
em2Tet
struts.i18n.encoding k- exqM2x=
The encoding to use for localization messages ]/|DCxQ
国际化信息内码 2RdpVNx\y
k>=wwPy
struts.i18n.reload ~FVbL-2
Whether the localization messages should automatically be reloaded :4)lmIu
是否国际化信息自动加载 Ky*xAx:
.*?)L3n+t
struts.locale 0R;`)V\^
The default locale for the Struts application MEOfVh
默认的国际化地区信息 Ch]q:o4
ceLr;}?Ws
struts.mapper.class *-'`Ea
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N6v*X+4JH
org.apache.struts2.dispatcher.mapper.ActionMapper接口 g`,(O
~Fo`Pr_
struts.multipart.maxSize m|[cEZxHB
The maximize size of a multipart request (file upload) F#o{/u?T
multipart请求信息的最大尺寸(文件上传用) ;1k_J~Qei
Is97>aid
struts.multipart.parser KF7d`bRe
The org.apache.struts2.dispatcher.multipart. )5TX3#=;(G
MultiPartRequest parser implementation for a multipart request (file upload) Lve$H(GHT
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^.M_1$-
(CE2]Nv9")
,88%eX|
struts.multipart.saveDir /sVmQqVY
The directory to use for storing uploaded files {9hhfI#3_
设置存储上传文件的目录夹 ve4QS P
!zxq9IhWR
struts.objectFactory `U;V-
The com.opensymphony.xwork2.ObjectFactory implementation class B,Jn.YX
com.opensymphony.xwork2.ObjectFactory接口(spring) U27ja|W^
DE?@8k
struts.objectFactory.spring.autoWire }U b "Vb
Whether Spring should autoWire or not K$M,d-
`b
是否自动绑定Spring ,->
P+m5
hflDVGBW
struts.objectFactory.spring.useClassCache *JaFt@ x
Whether Spring should use its class cache or not h#8{fr)6
是否spring应该使用自身的cache s3M#ua#mX
*8 ]
struts.objectTypeDeterminer 1xwq:vFC.
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W*D*\E
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <zu)=W'R]
,0$b8lb;x/
struts.serve.static.browserCache |nO}YU\E
If static content served by the Struts filter should set browser caching header properties or not 1 z[blNs&
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2K'}Vm+
& l~=c2
struts.serve.static `RE1q)o}8M
Whether the Struts filter should serve static content or not < YuI}d~'
是否struts过滤器应该提供静态内容 FD}>}fLv
p|w;StLy
struts.tag.altSyntax {c$%3iQq
Whether to use the alterative syntax for the tags or not "?sLi
是否可以用替代的语法替代tags t,;b*ZR
lc0Z fC
struts.ui.templateDir Eb9M;u
The directory containing UI templates j8p'B-yS
UI templates的目录夹 >JhIRf
j Ns eD
struts.ui.theme [h2V9>4:
The default UI template theme K#p&XIY,
默认的UI template主题 5(OF~mX#
B6vmBmN
struts.url.http.port r,dxW5v.
The HTTP port used by Struts URLs S[M\com'
设置http端口 DSHpM/7
1')/ BM2
struts.url.https.port **O4"+Xi8
The HTTPS port used by Struts URLs 9/|i.2&
设置https端口 HM1y$ej
VVje|T^{Z
struts.url.includeParams Qs{Qg<}
The default includeParams method to generate Struts URLs Cj):g,[a
在url中产生 默认的includeParams 9~mi[l~
PX'I:B]x*
wGQ{
struts.velocity.configfile i]LK,'
The Velocity configuration file path ?-'Q-\j
velocity配置文件路径 bvR*sT#rg
Sb[rSczS~
struts.velocity.contexts +CNRSq"
List of Velocity context names IJXH_H_%*
velocity的context列表 9e :E% 2
|/lIasI
1y"37;x
struts.velocity.manager.classname |:r/K
org.apache.struts2.views.velocity.VelocityManager implementation class a\m10Ih:
org.apache.struts2.views.velocity.VelocityManager接口名 xD?{Hw>QT#
5\Y/s o=
struts.velocity.toolboxlocation ;+b}@e
The location of the Velocity toolbox c)6Y.[).
velocity工具盒的位置 = xX^
struts.xslt.nocache D#t5*bwK
Whether or not XSLT templates should not be cached JcVq%~{M
是否XSLT模版应该被缓存 YJ16vb9