struts2的struts.properties配置文件详解 *hT1_
Y{ho[%
struts.action.extension e$E~@{[1)
The URL extension to use to determine if the request is meant for a Struts action (X
rrnoz
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 M@>EZ
h9McC 3
struts.configuration Qr/8kWa0C
The org.apache.struts2.config.Configuration implementation class 86^xq#+Uw
org.apache.struts2.config.Configuration接口名 fC2
\k=.w
struts.configuration.files da[u@eNrnX
A list of configuration files automatically loaded by Struts :\*<EIk(
struts自动加载的一个配置文件列表 GnE%C2L-
a:oZ5PX=
struts.configuration.xml.reload FA.h?yfr
Whether to reload the XML configuration or not ;
)Vro
是否加载xml配置(true,false) %0PdN@I
CWVCYm@!kz
struts.continuations.package _u`NIpXSP
The package containing actions that use Rife continuations 0.}Um
含有actions的完整连续的package名称 Ufz& 2
)U`"3R
struts.custom.i18n.resources <"uT=]wZ=
Location of additional localization properties files to load 3gW4\2|T
加载附加的国际化属性文件(不包含.properties后缀) r@xMb,!H
ob
struts.custom.properties v5|X=B>&>
Location of additional configuration properties files to load kF9T 9
加载附加的配置文件的位置 ,KlTitJl\+
3dnL\AqC
g& yR -
struts.devMode |S5N$[
Whether Struts is in development mode or not 9})!~r;|
是否为struts开发模式 <ByR!Y
8t$a8 PE
struts.dispatcher.parametersWorkaround t5z6{`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5q`d=L,
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O jkbv
^|6%~jkD5
struts.enable.DynamicMethodInvocation ^@
GE1
Allows one to disable dynamic method invocation from the URL e&C(IEZ/N;
允许动态方法调用 kU8V,5
)$/Gh&1G
struts.freemarker.manager.classname 2&E1) ^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [?<"SJ,`
org.apache.struts2.views.freemarker.FreemarkerManager接口名 /3*75
C7(kV{h$d
struts.i18n.encoding j:%~:
The encoding to use for localization messages H!Y`?Rc
国际化信息内码 *'+OA6
Gd)@PWK
struts.i18n.reload IBx?MU#.
Whether the localization messages should automatically be reloaded +igFIoHTM
是否国际化信息自动加载 V8>%$O
sw
=nEl m*E
struts.locale X[8m76/V
The default locale for the Struts application b;&J2:`
默认的国际化地区信息 <^&NA<2
(9h{7<wD`
struts.mapper.class fW Vd[zuD4
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VT1W#@`e-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ox"4 y
?aInn:FE
struts.multipart.maxSize k/vE|
The maximize size of a multipart request (file upload) Q)}sX6TB
multipart请求信息的最大尺寸(文件上传用) hq.z:D
cLH|;
struts.multipart.parser x. r~e)x=
The org.apache.struts2.dispatcher.multipart. t;9f7~
MultiPartRequest parser implementation for a multipart request (file upload) [R j=k)aBm
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3LZ0EYVL
@]Ye36v0#L
tvptawA.
struts.multipart.saveDir }%EQ
The directory to use for storing uploaded files 93%U;0w[Nw
设置存储上传文件的目录夹
Tx35~Z`0
\xk`o5/{
struts.objectFactory guv)[:cd;
The com.opensymphony.xwork2.ObjectFactory implementation class ,MwwA@,9-
com.opensymphony.xwork2.ObjectFactory接口(spring) rMqWXGl`(
" *xQN "F
struts.objectFactory.spring.autoWire ;JpU4W2/
Whether Spring should autoWire or not wobTT1!|
是否自动绑定Spring ^3QHB1I
+/q%29-k
struts.objectFactory.spring.useClassCache v709#/cR
Whether Spring should use its class cache or not TL+a_]3@
是否spring应该使用自身的cache EI2V<v
lY_E=K]
struts.objectTypeDeterminer *k'oP~:fT
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MpM-xz~
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "A^9WhUpJ
Tn[DF9;?
struts.serve.static.browserCache jRK<FK
If static content served by the Struts filter should set browser caching header properties or not A'qJke=
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }U'fPYYi8
pi? q<p%
struts.serve.static 3|RfX
Whether the Struts filter should serve static content or not )Y@
是否struts过滤器应该提供静态内容 ^;GJ7y&,d
ecA[
struts.tag.altSyntax FsZF>vaV
Whether to use the alterative syntax for the tags or not ^r^cMksB*
是否可以用替代的语法替代tags `9eE139V='
\1f$]oS
struts.ui.templateDir .l5y!?
The directory containing UI templates _ Onsfv
UI templates的目录夹 aYe,5dK>
pL>Q'{7s3
struts.ui.theme 5<Cu-X
The default UI template theme Ul OoMGg
默认的UI template主题 +L*2 6ar6
l%lkDh!$"
struts.url.http.port 08vA;6zt
The HTTP port used by Struts URLs %MgQ.
设置http端口 {<&I4V@+
UNq!|
struts.url.https.port \uQB%yMoz
The HTTPS port used by Struts URLs :{%6<j
设置https端口 O'U0Y8HN
MuYr?1<q
struts.url.includeParams #"%oz^~\
The default includeParams method to generate Struts URLs `N}<lg(0#
在url中产生 默认的includeParams e{Pgz0sOQ
L.lmbxn
R3wK@D
struts.velocity.configfile X!,P] G
The Velocity configuration file path ROr$S z
velocity配置文件路径 ;JA2n\iP,
I-4csw<Qy
struts.velocity.contexts gIep6nq1`|
List of Velocity context names ' A= x
velocity的context列表 aDR<5_Yb
k&ujr:)5Y5
( }5k"9Z
struts.velocity.manager.classname _Qs)~
org.apache.struts2.views.velocity.VelocityManager implementation class aB-*l
%x
org.apache.struts2.views.velocity.VelocityManager接口名 :x]gTZ?
+bI &0`
struts.velocity.toolboxlocation ;%odN
d
The location of the Velocity toolbox 3zY"9KUN
velocity工具盒的位置 ?s #DD,
struts.xslt.nocache "P.7FD
Whether or not XSLT templates should not be cached {w}PV5<
是否XSLT模版应该被缓存 q
.nsGbl