struts2的struts.properties配置文件详解 5~
' Ie<Y_
>RI>J.~
struts.action.extension ~i;fDQ&!
The URL extension to use to determine if the request is meant for a Struts action ~ A Qp|
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3:/'n
9%)=`W
struts.configuration y %8op:'
The org.apache.struts2.config.Configuration implementation class H5>hx{
org.apache.struts2.config.Configuration接口名 /
jTT5
:6kj EI
struts.configuration.files :c[n\)U[aa
A list of configuration files automatically loaded by Struts uwIc963
struts自动加载的一个配置文件列表 `\Ku]6J]5
.ae O}^
struts.configuration.xml.reload Px@/Q
Whether to reload the XML configuration or not XEM'}+d
是否加载xml配置(true,false) vH%gdpxX
q~K(]Ya/
struts.continuations.package @JkK99\(>9
The package containing actions that use Rife continuations qF)<H
含有actions的完整连续的package名称 7Du1RuxP
]<uQ.~
struts.custom.i18n.resources R5_i15<
Location of additional localization properties files to load 8[%Ao/m
加载附加的国际化属性文件(不包含.properties后缀) %bXtKhg5eJ
Mn: /1eY
struts.custom.properties 7cg*|E@
Location of additional configuration properties files to load 7sNw
加载附加的配置文件的位置 1YxgR}7
H&}ipaDO
'BMy8
struts.devMode %WFu<^jm
Whether Struts is in development mode or not oT95^y\9
是否为struts开发模式 E N^Uki`
RuW!*LI
struts.dispatcher.parametersWorkaround r} _c
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'Yy&G\S
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) { >{B`e`$
)
iQ
struts.enable.DynamicMethodInvocation _>o-UBb4]T
Allows one to disable dynamic method invocation from the URL gieJ}Bv
允许动态方法调用 ]1-z!B 4K
M&Y .;
struts.freemarker.manager.classname 0"k|H&
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [p r"ZQ]
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y]`.InG@
6qvp*35Cx
struts.i18n.encoding O OFVnu
The encoding to use for localization messages <msxHw
国际化信息内码 s$h]
G[x
!7B\Xl'S
struts.i18n.reload 0pe3L
Whether the localization messages should automatically be reloaded +0z 7KO%^^
是否国际化信息自动加载 d?,M/$h
0\{BWNK
struts.locale OU DcY@x~
The default locale for the Struts application &.i^dO^}
默认的国际化地区信息 '8FC<=+p[
=8G&3 R
struts.mapper.class BG2)v.CU
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q'B6^%:<~
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?@6b>='!
q(^Q3
struts.multipart.maxSize :bU(S<%M
The maximize size of a multipart request (file upload) Ac k}QzXO
multipart请求信息的最大尺寸(文件上传用) f5RE9%.#~
+~Cy$MCX
struts.multipart.parser Fr?z"
The org.apache.struts2.dispatcher.multipart. e59dVFug.U
MultiPartRequest parser implementation for a multipart request (file upload) ^W83ByP
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7iC *Pr
DLPUqKL]
+';>=hha
struts.multipart.saveDir E|"=.
T
The directory to use for storing uploaded files {43yb_B(
设置存储上传文件的目录夹 i?;r7>
g8;D/
struts.objectFactory wz8PtfZ
The com.opensymphony.xwork2.ObjectFactory implementation class }$su4A@0
com.opensymphony.xwork2.ObjectFactory接口(spring) OV CR0
)(Iy<Y?#
struts.objectFactory.spring.autoWire Tm]nEl)_
Whether Spring should autoWire or not ,0$)yZ3*3,
是否自动绑定Spring L7Dh(y=;7
.?C%1a&_l
struts.objectFactory.spring.useClassCache OIb
Whether Spring should use its class cache or not _K2?YY(#>
是否spring应该使用自身的cache Aez2*g3
:q3+AtF
struts.objectTypeDeterminer 4NVV5_K a
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q<tu) Qo
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4NEq$t$Jn
Z*{]
,
struts.serve.static.browserCache 3ucP(Ex@tg
If static content served by the Struts filter should set browser caching header properties or not CCijf]+
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6w3R'\9
nHFrG
=o,
struts.serve.static "LhUxnll
Whether the Struts filter should serve static content or not .o{0+fC#
是否struts过滤器应该提供静态内容 :
DG)g3#
GDaN
struts.tag.altSyntax ^[:9fs
Whether to use the alterative syntax for the tags or not W><Zn=G4)b
是否可以用替代的语法替代tags tEd.'D8 s
sf}Dh
struts.ui.templateDir k4J8O3E
The directory containing UI templates JD>d\z2QC
UI templates的目录夹 [ Mg8/Oy
2pHR_mrb
struts.ui.theme ,n,RFa
The default UI template theme I 1d0iU
默认的UI template主题 yKagT$-
=?0lA_
0
struts.url.http.port }`VDD?M
The HTTP port used by Struts URLs <c[U#KrvJ
设置http端口 wHjLd$ +o
FwKj+f"
struts.url.https.port vZ7gS
The HTTPS port used by Struts URLs FaTa(3$%
设置https端口 =%)+%[wv
!{,F~i9
struts.url.includeParams EC&@I+'8Q
The default includeParams method to generate Struts URLs ;|%dY{L-
在url中产生 默认的includeParams ;E2>Ovv
YEu1#N
[t\B6XxT
struts.velocity.configfile }n,Zl>T9
The Velocity configuration file path Myat{OF
velocity配置文件路径 qMBR *f
Is<"OQ
struts.velocity.contexts 1&=0Wg0ig
List of Velocity context names ;.sl*q1A
velocity的context列表 t,)N('m}=
bZ_mYyBh
<<A`aU^fX
struts.velocity.manager.classname Wx'Kp+9'
org.apache.struts2.views.velocity.VelocityManager implementation class jd`},X /
org.apache.struts2.views.velocity.VelocityManager接口名 tL
SN`6[:
xZ5M/YSyG
struts.velocity.toolboxlocation wle@vCmr
The location of the Velocity toolbox fBtm%f
velocity工具盒的位置 8{U-m0v
struts.xslt.nocache FxG7Pk+=
Whether or not XSLT templates should not be cached 6Z?j AXGSq
是否XSLT模版应该被缓存 @xsP5je]