struts2的struts.properties配置文件详解 cyd_xB5K
c9H6\ &
struts.action.extension (Q `Ps/
The URL extension to use to determine if the request is meant for a Struts action BuM#&]s
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]Y?ZUSCJ
mT j
struts.configuration TgRG6?#^l
The org.apache.struts2.config.Configuration implementation class 2,|@a\H
org.apache.struts2.config.Configuration接口名 dj,lbUL
K;`*n7=IA
struts.configuration.files Cx) N;x
A list of configuration files automatically loaded by Struts 9)b{U2&
struts自动加载的一个配置文件列表 e \kR/<L
RHu,t5,
struts.configuration.xml.reload )i-`AJK-'v
Whether to reload the XML configuration or not (a,`Y.
是否加载xml配置(true,false) M-!#-l
nu|?F\o!
struts.continuations.package D*HK[_5
The package containing actions that use Rife continuations Frhm4H%,_R
含有actions的完整连续的package名称 &t@ $]m(
%z
@T /
struts.custom.i18n.resources y+VRD
Location of additional localization properties files to load afcyAzIB&
加载附加的国际化属性文件(不包含.properties后缀) 3'`X_C|d53
u-dF~.x
struts.custom.properties sy9Yd PPE
Location of additional configuration properties files to load %x$mAOUv
加载附加的配置文件的位置 IG@@CH
O{G $]FtF
W!Rr_'yFe)
struts.devMode L\kT9wWK|
Whether Struts is in development mode or not `VOLw*Ci
是否为struts开发模式 ~/R}K g(
<gr2k8m6$
struts.dispatcher.parametersWorkaround [WunA,IuR
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic x\(yjNZH
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pvd9wKz
EY!P"u;
struts.enable.DynamicMethodInvocation ),I7+rY
Allows one to disable dynamic method invocation from the URL [6Nzz]yy
允许动态方法调用 }4I;<%L3`
%PU{h
struts.freemarker.manager.classname *FoPs
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rxI Ygh
org.apache.struts2.views.freemarker.FreemarkerManager接口名 u]Y NF[]
@Cd}1OT)
struts.i18n.encoding es(vWf'
The encoding to use for localization messages %]Nz54!
国际化信息内码 lv ^=g
xt"/e-h}
struts.i18n.reload I|O~F e.
Whether the localization messages should automatically be reloaded LZ ID|-
是否国际化信息自动加载 5#f&WL*U@
xD1B50y U
struts.locale +TAm9eDNV
The default locale for the Struts application 28BiuxVW
默认的国际化地区信息 y9)l,@D
WuGm~<NS
struts.mapper.class
3nK'yC
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iQGoy@<R
org.apache.struts2.dispatcher.mapper.ActionMapper接口 *}w.xt
`Ys })Pl
struts.multipart.maxSize R$3JbR.
The maximize size of a multipart request (file upload) R{rV1j#@!a
multipart请求信息的最大尺寸(文件上传用) RU>vnDaC
D&^:hs@
struts.multipart.parser q9!#S
The org.apache.struts2.dispatcher.multipart. IGqmH=-
MultiPartRequest parser implementation for a multipart request (file upload) 88*RlxU
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !S-hv1bE
Z{CL!
`x#~-
struts.multipart.saveDir :cEe4a
The directory to use for storing uploaded files ^/BE=$E\
设置存储上传文件的目录夹 J-f0
A_fU7'B
struts.objectFactory @ixX?N)V
The com.opensymphony.xwork2.ObjectFactory implementation class j`GbI0,bT
com.opensymphony.xwork2.ObjectFactory接口(spring) $^XPk#$m
&e)p6Egl
struts.objectFactory.spring.autoWire
_NZHrN
Whether Spring should autoWire or not hpyre B
是否自动绑定Spring \O?B9_
U; xWW9
struts.objectFactory.spring.useClassCache :V2Q n-N
Whether Spring should use its class cache or not `;qZ$HH
是否spring应该使用自身的cache 3# (5Kco
W9Lg}[>:)
struts.objectTypeDeterminer Ny'v/+nQ
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class eC{Z
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DmrfD28j~F
csM|VNE>
struts.serve.static.browserCache 4~Pto
f@
If static content served by the Struts filter should set browser caching header properties or not ~b[4'm@
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -8jqC6mQ
r97[!y1gt
struts.serve.static T!A}ipqb
Whether the Struts filter should serve static content or not NKKOA
是否struts过滤器应该提供静态内容 gc~h!%'.I
`6$b1qv,
struts.tag.altSyntax jq)|7_N
Whether to use the alterative syntax for the tags or not z n!
是否可以用替代的语法替代tags z\Y^x9
P$ef,ZW"
struts.ui.templateDir ]+dl=SmF
The directory containing UI templates vUs7#*
UI templates的目录夹 CEq]B:[IC
1n(}Q1fa
struts.ui.theme 9y*!W
The default UI template theme *SMPHWH[c
默认的UI template主题 {kH^OZ^(e
XL=R]IC<.
struts.url.http.port 8#u_+;,p
The HTTP port used by Struts URLs f {c[_OR
设置http端口 b[;3KmUB
7 aD&\?
struts.url.https.port ==Mi1Q#5C
The HTTPS port used by Struts URLs 'm5(MC,
设置https端口 }n%Rl\p
C(HmLEB^
struts.url.includeParams $
].k6,%{p
The default includeParams method to generate Struts URLs xBfe8lor
在url中产生 默认的includeParams #
pB:LPEsK
z8 ;#H
tr
~*c=
struts.velocity.configfile {4aY}=
-Q*
The Velocity configuration file path DjzBG*f/
velocity配置文件路径 *>p(]_s,
"HfU,$[
struts.velocity.contexts \u-e\w
List of Velocity context names 4
6lEJ
velocity的context列表 7QiCZcb\
H!.D2J
kz;_f
struts.velocity.manager.classname xqC<p`?4
org.apache.struts2.views.velocity.VelocityManager implementation class uBq3.+,x*
org.apache.struts2.views.velocity.VelocityManager接口名 &:I
+]G/W
;Fem<p)V
struts.velocity.toolboxlocation Cm;qDvj+u
The location of the Velocity toolbox Gb |}Su
velocity工具盒的位置 ?g;ZbD
struts.xslt.nocache 7$'mC9
Whether or not XSLT templates should not be cached B4:l*P'
是否XSLT模版应该被缓存 "SU-^z