struts2的struts.properties配置文件详解 -M4p\6)Ge
r:&|vP
struts.action.extension sJZ!sznn
The URL extension to use to determine if the request is meant for a Struts action 3yV'XxC
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *1A&'T2
|`O7nOM
struts.configuration gfy19c 9
The org.apache.struts2.config.Configuration implementation class Rc[ 0aj:
org.apache.struts2.config.Configuration接口名 _A+w#kiv>
~/-eyxLTm
struts.configuration.files }Hcx=}j
A list of configuration files automatically loaded by Struts 6f)2 F<
7
struts自动加载的一个配置文件列表 j9R6ta3\l
bw4oLu?
struts.configuration.xml.reload d]wD[]
Whether to reload the XML configuration or not g(hOg~S\E
是否加载xml配置(true,false) 1||+6bRP
/ T
c=
struts.continuations.package \Kavw
The package containing actions that use Rife continuations T~xwo
含有actions的完整连续的package名称 @f1*eo5f
K#mOSY;}
struts.custom.i18n.resources zsXpA0~3s
Location of additional localization properties files to load p9qKLJ*.C
加载附加的国际化属性文件(不包含.properties后缀) Ykqyk')wm
M+P$/Wk
struts.custom.properties )3A{GZj#6
Location of additional configuration properties files to load !mJo'K
加载附加的配置文件的位置 LnsD
Ao9R:|9
DcD{*t?x
struts.devMode 1Sz A3c
Whether Struts is in development mode or not :t("L-GPW
是否为struts开发模式 c64v,Hj9
,'fxIO
struts.dispatcher.parametersWorkaround )_7>nuQ6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u1^wDc*xg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {QAv~S>4
2 QTZwx
struts.enable.DynamicMethodInvocation wBSQ:f]g
Allows one to disable dynamic method invocation from the URL [bz T&o
允许动态方法调用 _BM4>r?\
f3MRD4+-
struts.freemarker.manager.classname &&>tf%[
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0(TTw(;
org.apache.struts2.views.freemarker.FreemarkerManager接口名 RFaSwf,5n
Cby;?F6w
struts.i18n.encoding B%s7bS
The encoding to use for localization messages U7@AC}.+
国际化信息内码 v Gy8Qu>
PmpNAVE'
struts.i18n.reload 23F/\2MSG
Whether the localization messages should automatically be reloaded cre;P5^E
是否国际化信息自动加载
!YL..fb
Z8O n%Mx{"
struts.locale %ysZ5:X
The default locale for the Struts application 7,
}
$u
默认的国际化地区信息 )!bUR\
ZP\M9Ja
struts.mapper.class bm~W
EX
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C4$:mJ>y
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Sl2iz?
-fI`3#
struts.multipart.maxSize 7cDU2l
The maximize size of a multipart request (file upload) {7hLsK[])
multipart请求信息的最大尺寸(文件上传用) sic"pn],U
OR1DYHHT/1
struts.multipart.parser
mEG6
The org.apache.struts2.dispatcher.multipart. !|hoYU>@2L
MultiPartRequest parser implementation for a multipart request (file upload) `4?~nbz
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }Db[ 4
zE T^T5>:
ipnV$!z
struts.multipart.saveDir C*=Xk/0
The directory to use for storing uploaded files 3rW|kkn
设置存储上传文件的目录夹 z;f2*F
} p
FQRSOZ
struts.objectFactory >^Q&nkB"B
The com.opensymphony.xwork2.ObjectFactory implementation class 5^<h}u9
com.opensymphony.xwork2.ObjectFactory接口(spring) AN:sQX`
!%+2Yifna
struts.objectFactory.spring.autoWire 2,2Z`X
Whether Spring should autoWire or not "xI"
是否自动绑定Spring 2"P99$"
qU2~fNY
struts.objectFactory.spring.useClassCache k %e^kej
Whether Spring should use its class cache or not {R<Ea
@LV+
是否spring应该使用自身的cache >zsid:
/-_=nf}w
struts.objectTypeDeterminer x5`br.b
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {N2g8W:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 EC2+`HJ"
EKEjv|_)
struts.serve.static.browserCache $EZN1\
If static content served by the Struts filter should set browser caching header properties or not _
nA p6i
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k(>h^
{e[%;W%c&
struts.serve.static =!O*/6rz
Whether the Struts filter should serve static content or not
/tV/85r
是否struts过滤器应该提供静态内容 'FlJpA}
6=4wp?
struts.tag.altSyntax S:4crI
Whether to use the alterative syntax for the tags or not WG*t::NN
是否可以用替代的语法替代tags
;__9TN
[${
QzO
struts.ui.templateDir ;AR{@Fu.
The directory containing UI templates +;$oJJ
UI templates的目录夹 }I|u'#n_
<DKS+R
struts.ui.theme ]-oJ[5cQ0v
The default UI template theme ^4r73ak/):
默认的UI template主题 2"|2a@
iHwLZ[O{
struts.url.http.port j?y LDLj
The HTTP port used by Struts URLs *D o/+[Ae
设置http端口 /27JevE
l Z#o+d2Y
struts.url.https.port R>DaOH2K*
The HTTPS port used by Struts URLs rG#Z=*b%
设置https端口 }X x(^Zh
<VD8bTk
struts.url.includeParams a#mNE*Dg
The default includeParams method to generate Struts URLs xe7O/',pa=
在url中产生 默认的includeParams j4?@(u9;j
aQI^^$9g
O: @}lK+H
struts.velocity.configfile REZJ}%}/
The Velocity configuration file path [SJ6@q
velocity配置文件路径 0sI1GhVR
J]m{b09F
struts.velocity.contexts #cj6{%c4
List of Velocity context names "ZTTg>r
velocity的context列表 jp $Z]
)p!7#v/@f
[((;+B
struts.velocity.manager.classname u:aW 8
org.apache.struts2.views.velocity.VelocityManager implementation class ; 7N
Z<k
org.apache.struts2.views.velocity.VelocityManager接口名 dw.F5?j`b
dt~YW
struts.velocity.toolboxlocation Vi4~`;|&b+
The location of the Velocity toolbox ?<G]&EK~~]
velocity工具盒的位置 2e$w?W0^
struts.xslt.nocache K}6dg<
Whether or not XSLT templates should not be cached \rVQQ|l
是否XSLT模版应该被缓存 L`th7d"