struts2的struts.properties配置文件详解 s-z*Lq*
?9?eA^X%
struts.action.extension )]^xy&:|
The URL extension to use to determine if the request is meant for a Struts action Za&.sg3RG
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 hZudVBn
4Y=sTXbFt
struts.configuration :Hn*|+'
The org.apache.struts2.config.Configuration implementation class R>3a?.X
org.apache.struts2.config.Configuration接口名 9qqzCMrI0e
neHozmm|
struts.configuration.files EJbFo682
A list of configuration files automatically loaded by Struts UB4 M=R|
struts自动加载的一个配置文件列表 n1Y3b~E?E
LMV0:\>
struts.configuration.xml.reload !.[N(%"
Whether to reload the XML configuration or not X+:>&&9
是否加载xml配置(true,false) B;r o(R
@aA1=9-L
struts.continuations.package x+L
G4++
The package containing actions that use Rife continuations R
m{\ R
含有actions的完整连续的package名称 @k ~_ w#
X1P_IB
struts.custom.i18n.resources iTt#%Fs)4M
Location of additional localization properties files to load N1O& fMz
加载附加的国际化属性文件(不包含.properties后缀) rQ4i %.
0B4&!J
struts.custom.properties )ZU=`!4
Location of additional configuration properties files to load .q>4? +
加载附加的配置文件的位置 K }]0<\N
A ko}v"d
wc-ll&0Z
struts.devMode iz2I4 _N
Whether Struts is in development mode or not f>u{e~Q,
是否为struts开发模式 lO+<T[
~vCfMV[F
struts.dispatcher.parametersWorkaround .45XS>=z#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic eBK s-2r
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #$vef
i>Cxi ZT
struts.enable.DynamicMethodInvocation I)$of9
Allows one to disable dynamic method invocation from the URL yrDWIU(8;6
允许动态方法调用 xr2ew%&o
iw,F)O
struts.freemarker.manager.classname KAR XC,z
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F4m Q#YlrS
org.apache.struts2.views.freemarker.FreemarkerManager接口名 IZm_/
8Ee bWs*1
struts.i18n.encoding /mB'Fn6)
The encoding to use for localization messages g5EdW=Dt,
国际化信息内码 x04JU$@
=A6/D
struts.i18n.reload ;w(]z
Whether the localization messages should automatically be reloaded J,s)Fu\j@
是否国际化信息自动加载 I5"ew=x#
XA[GF6W,Y
struts.locale iL-I#"qT,
The default locale for the Struts application ~3{C&c
默认的国际化地区信息 s$Il;
O<R6^0B42
struts.mapper.class ,w.`(?I/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z\=].[,w4
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Nxu10
9o.WJ
struts.multipart.maxSize Lw=.LN
The maximize size of a multipart request (file upload) i<g|+}I
multipart请求信息的最大尺寸(文件上传用) ^n@.
XpzdvR1
struts.multipart.parser U.oxLbJ`
The org.apache.struts2.dispatcher.multipart. YyX/:1 sg>
MultiPartRequest parser implementation for a multipart request (file upload) G"jKYW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j+3~
6 ^X$;
XA~Rn>7&H
struts.multipart.saveDir D[)")xiG
The directory to use for storing uploaded files 4C(v BKl
设置存储上传文件的目录夹 -ob_]CKtJ~
$]CZ]EWts
struts.objectFactory 5_+vjV;5
The com.opensymphony.xwork2.ObjectFactory implementation class
6h
N~<
com.opensymphony.xwork2.ObjectFactory接口(spring) 6Q,-ZM=Z_p
M}4%LjD
struts.objectFactory.spring.autoWire (NUk{MTX
Whether Spring should autoWire or not BRP9j
y
是否自动绑定Spring %T*lcg
\4wM8j
struts.objectFactory.spring.useClassCache Lj"~6l`)
Whether Spring should use its class cache or not w:Fi
2aJ
是否spring应该使用自身的cache %}cGAHV
YzU(U_g$
struts.objectTypeDeterminer cA"',N8!5
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class GzK{.xf
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 OpY2Z7_
XM3N>OR.
struts.serve.static.browserCache <ns[(
Q
If static content served by the Struts filter should set browser caching header properties or not m~9Qx`fi`
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 CG IcuHp
N<+
><>9
struts.serve.static .-+_>br~
Whether the Struts filter should serve static content or not p5^,3&
是否struts过滤器应该提供静态内容 QthHQA
ks7g*; 3{@
struts.tag.altSyntax X'Q$v~/
Whether to use the alterative syntax for the tags or not Pze$QBNoRd
是否可以用替代的语法替代tags B:5(sK
>2`)S{pBD
struts.ui.templateDir $j^Jj
The directory containing UI templates i]*Wt8~!
UI templates的目录夹 I!.o&dk
.MuS"R{y
struts.ui.theme $b\`N2J-_
The default UI template theme Lm\N`
默认的UI template主题 W-@A
9g+/^j^>?f
struts.url.http.port ?b 2
The HTTP port used by Struts URLs qSj2=dlW
设置http端口 A] pLq`
xh[Mmq/R
struts.url.https.port Z}.N4 /
The HTTPS port used by Struts URLs 8Wid.o-U
设置https端口 CQ2{5
/j./
struts.url.includeParams -Ep cX!i
The default includeParams method to generate Struts URLs
7
2ux3D
在url中产生 默认的includeParams ~WU _u,:
Adgh:'h
j]}A"8=1
struts.velocity.configfile [wP;g'F
The Velocity configuration file path 2hAu~#X
velocity配置文件路径 eIK8J,-
<Bb$d@c
struts.velocity.contexts n[lf==R
List of Velocity context names pj&vnX6O^
velocity的context列表 D4<nS<8
!Sfy'v.
|Y"q. n77
struts.velocity.manager.classname 1Vt7[L*
org.apache.struts2.views.velocity.VelocityManager implementation class b gGd
org.apache.struts2.views.velocity.VelocityManager接口名 \v{tK;
2]5dSXD
struts.velocity.toolboxlocation iU{bPyz,
The location of the Velocity toolbox &Qy_= -]
velocity工具盒的位置 -fuSCj
struts.xslt.nocache Q^/66"Z:Z
Whether or not XSLT templates should not be cached q.FgX
是否XSLT模版应该被缓存 {o<
4 ^