struts2的struts.properties配置文件详解 =fEn h'KE
Kh}#At^C8e
struts.action.extension 1%t9ic
The URL extension to use to determine if the request is meant for a Struts action d XrLeoK
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a//<S?d$:
o[0Cv*
struts.configuration E\ 5t&jZr
The org.apache.struts2.config.Configuration implementation class !Mceg
org.apache.struts2.config.Configuration接口名 fC52nK&T8
WM~@/J
struts.configuration.files /{^Qup
A list of configuration files automatically loaded by Struts =rGjOb3+
struts自动加载的一个配置文件列表 3Jf_3c
hr(E,TAe
struts.configuration.xml.reload {|bf`
Whether to reload the XML configuration or not i_Ab0vye
是否加载xml配置(true,false) w>J|416
GeD^-.^
struts.continuations.package b+9M? k"
The package containing actions that use Rife continuations
I4,C-D
含有actions的完整连续的package名称 L
slI!.(
N\BB8<F
struts.custom.i18n.resources a)/!ifJ;
Location of additional localization properties files to load d@JjqE[
加载附加的国际化属性文件(不包含.properties后缀) FQ26(.
a^>0XXr}Y
struts.custom.properties TDq(%IW
Location of additional configuration properties files to load S2'./!3yv
加载附加的配置文件的位置 Qk*`9
?zM]p"M
xp.~i*!`
struts.devMode 3{O^q/R
Whether Struts is in development mode or not FIDV5Y/f
是否为struts开发模式 >$j?2,Za(V
.Ce30VE-
struts.dispatcher.parametersWorkaround K1Snag
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Tq,Kel
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }w}2'P'T
buu~#m1z
struts.enable.DynamicMethodInvocation 0[/>>
!ws
Allows one to disable dynamic method invocation from the URL Y/?V%X
允许动态方法调用 Bq3" l%hI
a6cq0g[# z
struts.freemarker.manager.classname aSkH<5i`v
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uS`XWn<CSD
org.apache.struts2.views.freemarker.FreemarkerManager接口名 3A!`U6C(
g4EC[>5!r
struts.i18n.encoding $F"'=+0
The encoding to use for localization messages Qyx%:PE
国际化信息内码 =dSH8C"
s]@()?.E$
struts.i18n.reload b"DaLwKkz
Whether the localization messages should automatically be reloaded L3/m}AH,
是否国际化信息自动加载 V{+'(<SV
pyJY]"UHVE
struts.locale E<]O,z;F
The default locale for the Struts application agp`<1h9
默认的国际化地区信息 GH[ATL
xkV(E!O
struts.mapper.class sxkWg>
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?Dm={S6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 4+I @
ammlUWl
struts.multipart.maxSize '_oWpzpe
The maximize size of a multipart request (file upload) %? -E)n[
multipart请求信息的最大尺寸(文件上传用) BJC$KmGk
$P
rji
struts.multipart.parser c&me=WD
The org.apache.struts2.dispatcher.multipart. z-ns@y(f@X
MultiPartRequest parser implementation for a multipart request (file upload) &m[ZpJ9
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^,O%E;g^#
+?y ', Ir
= Lt)15
struts.multipart.saveDir RC?gozBFJ
The directory to use for storing uploaded files >%LZ|*U
设置存储上传文件的目录夹 AQ+MjS,
ynY(
struts.objectFactory Vi1l^ Za
The com.opensymphony.xwork2.ObjectFactory implementation class ?i'N9 /(
com.opensymphony.xwork2.ObjectFactory接口(spring) F#NuZ'U
t$~CLq5ad
struts.objectFactory.spring.autoWire NhJ]X cfP8
Whether Spring should autoWire or not rMr:\M]t
是否自动绑定Spring j}u b
;&7dX^oH
struts.objectFactory.spring.useClassCache *WMI<w~_
Whether Spring should use its class cache or not bji5X')~#
是否spring应该使用自身的cache qHVZsZ
Sq22]
struts.objectTypeDeterminer hvW FzT5
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [~_)]"pU
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .Nk'yow
7]sRHX0o%
struts.serve.static.browserCache JX!z,X?r4
If static content served by the Struts filter should set browser caching header properties or not &FrUj>i
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1?I_fA}
YF8;s4
struts.serve.static A; _Zw[
Whether the Struts filter should serve static content or not -So$f-y
是否struts过滤器应该提供静态内容 R`
g'WaDk
'_ZiZ4O
struts.tag.altSyntax T8^`<gr.
Whether to use the alterative syntax for the tags or not Ob!NC&
是否可以用替代的语法替代tags &6="r}
da'1H
struts.ui.templateDir hufpk y[&8
The directory containing UI templates ICdfak
UI templates的目录夹 pTeN[Yu?
kB[l6`
struts.ui.theme pYN.tD FO
The default UI template theme h4ozwVA
默认的UI template主题 ibP IT!5c
3ch<a0
struts.url.http.port >:J7u*>$ '
The HTTP port used by Struts URLs x&p.-Fi
设置http端口 ]C'^&:&<
<S ae:m4
struts.url.https.port Tfq7<<0$N
The HTTPS port used by Struts URLs +h]~m_O
设置https端口 PPAcEXsIu
mP*Ct6628n
struts.url.includeParams NI
r"i2
The default includeParams method to generate Struts URLs (zr2b
在url中产生 默认的includeParams =0t<:-?.-
:%[mc-6.
/6y9u}
struts.velocity.configfile F:7d}Jx
The Velocity configuration file path 43.Q);4
velocity配置文件路径 jhR`%aH4
>\?RYy,s$
struts.velocity.contexts 8 /vGA=
List of Velocity context names *Z8qd{.$q
velocity的context列表 Uee(1
s3-TBhAv
t p<v
struts.velocity.manager.classname K>2M*bGcp
org.apache.struts2.views.velocity.VelocityManager implementation class T{So2@_&
org.apache.struts2.views.velocity.VelocityManager接口名 yQcIfl]f
#fx>{ vzH
struts.velocity.toolboxlocation CSwPL>tUV
The location of the Velocity toolbox 1,7
velocity工具盒的位置 3ncN)E/@
struts.xslt.nocache ;e)`Cv
Whether or not XSLT templates should not be cached ;RK;kdZ
是否XSLT模版应该被缓存 &j}:8Tst