struts2的struts.properties配置文件详解 &!3VqHQ`
U'f$YVc
struts.action.extension ?yK%]1O
The URL extension to use to determine if the request is meant for a Struts action %[+a[/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -oaG|
9-X{x95]
struts.configuration N,'[:{GOY
The org.apache.struts2.config.Configuration implementation class x
mrugNRg
org.apache.struts2.config.Configuration接口名 ^Yg|P&e(;
f4A4
struts.configuration.files |wyJh"4!
A list of configuration files automatically loaded by Struts FVvv
struts自动加载的一个配置文件列表 0|K/=dh5+
UIm[DYMS
struts.configuration.xml.reload 3.K{T
Whether to reload the XML configuration or not 7Y_fF1-wY
是否加载xml配置(true,false) $)kBz*C[
1DI"LIL
struts.continuations.package =2vMw]
The package containing actions that use Rife continuations )Yy#`t
含有actions的完整连续的package名称 D:RBq\8
b}}1TnS)
struts.custom.i18n.resources tNi%}~Z
Location of additional localization properties files to load d-#u/{jG)
加载附加的国际化属性文件(不包含.properties后缀) e!2%k u
t^bdi}[
struts.custom.properties +cE tm
Location of additional configuration properties files to load I!soV0VU]
加载附加的配置文件的位置 J6^Ct
a2klOX{
XYxm8ee"j
struts.devMode Vm,f3~
Whether Struts is in development mode or not %M0mwty]
是否为struts开发模式 Aa\=7
7gdU9c/q,
struts.dispatcher.parametersWorkaround DS,FVh".|
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 8#d1}Y
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +~i+k~{`H
sP3.s_U^
struts.enable.DynamicMethodInvocation E;GR;i{t
Allows one to disable dynamic method invocation from the URL lu@>?,<
允许动态方法调用 ek;&<Z_ ]
M_e$l`"G
struts.freemarker.manager.classname *|,ykb>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h,WY2Hr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 L/iVs`qF
sY;gh`4h
struts.i18n.encoding Mn }Z9S[
The encoding to use for localization messages
1N$gE
国际化信息内码 KZ<RDXV T
J PzQBc5e
struts.i18n.reload !qw=I(
Whether the localization messages should automatically be reloaded 5c}9
是否国际化信息自动加载 ;iC'{S
b-(UsY:
struts.locale 3!oQmG_T
The default locale for the Struts application /4B4IT
默认的国际化地区信息 j'40>Ct=i
sc $QbO c
struts.mapper.class ZV q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -IEP?NX
org.apache.struts2.dispatcher.mapper.ActionMapper接口 UK<DcM~n
hpz*jyh8
struts.multipart.maxSize 5 *pN<S
The maximize size of a multipart request (file upload) F)5B[.ce
multipart请求信息的最大尺寸(文件上传用) k]/6/s\
gUszMhHX
struts.multipart.parser 7+!7]'V
The org.apache.struts2.dispatcher.multipart. v.LUK
MultiPartRequest parser implementation for a multipart request (file upload) .kKwdqO+zB
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U1HD~
Qhr]eu;z
ocuVDC
struts.multipart.saveDir Fee WZe0i
The directory to use for storing uploaded files L,A-G"z0Z
设置存储上传文件的目录夹 73z|'0.
vwH7/+
struts.objectFactory .q9|XDqQc
The com.opensymphony.xwork2.ObjectFactory implementation class $E,DxDT
com.opensymphony.xwork2.ObjectFactory接口(spring) ic]tUOC :
=O'%)Y&
struts.objectFactory.spring.autoWire ]|LaMMD
Whether Spring should autoWire or not hCvLwZ?LF
是否自动绑定Spring Ufe
:9
iOuu
struts.objectFactory.spring.useClassCache Nx (pJp{S
Whether Spring should use its class cache or not ?M-8Fp3 +
是否spring应该使用自身的cache j _9<=Vu
>.wd)
struts.objectTypeDeterminer #M^Yh?~%w
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;6 qdOD6
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *;yMD-=
o4 g
struts.serve.static.browserCache {ZM2WFpE
If static content served by the Struts filter should set browser caching header properties or not zu*G4?]~h
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e, 0I~:
6N+)LF}P b
struts.serve.static F4<2.V)#-
Whether the Struts filter should serve static content or not G1^!e j
是否struts过滤器应该提供静态内容 %PdYv _5
MVv^KezD
struts.tag.altSyntax >;r05,mc
Whether to use the alterative syntax for the tags or not 2T%f~yQ^
是否可以用替代的语法替代tags LP-Q'vb<=
R|$`MX}'z
struts.ui.templateDir wBHDof
xX
The directory containing UI templates 0\ w[_H
UI templates的目录夹 yIf}b
yj+b/9My
struts.ui.theme "3 oU
(RA
The default UI template theme Ib8{+j
默认的UI template主题 3 DHA^9<q
`h3}"js
struts.url.http.port "EhO )lR
The HTTP port used by Struts URLs v!h-h&p O7
设置http端口 fO(S+}
AX RNV
struts.url.https.port \\Tp40m+
The HTTPS port used by Struts URLs Rs[]i;
设置https端口 qML*Kwg
jF_I4H
struts.url.includeParams y]4`d
The default includeParams method to generate Struts URLs /(pChY>
在url中产生 默认的includeParams PSR`8z n
emPm^M5/K
u`@FA?+E1
struts.velocity.configfile RAbq_^Q
The Velocity configuration file path z35Rjhj9
velocity配置文件路径 n1(X%%2
BQ0\+
struts.velocity.contexts 6|cl`}g_j
List of Velocity context names aW$nNUVD
velocity的context列表 NP*0WT_gB
NWK_(=n
Bt3=/<.\
struts.velocity.manager.classname yvisoZX
org.apache.struts2.views.velocity.VelocityManager implementation class q:sR zX
org.apache.struts2.views.velocity.VelocityManager接口名 }l!_m.#e
P[ 8N58#
struts.velocity.toolboxlocation zRFM/IYC
The location of the Velocity toolbox z5vI0 N$
velocity工具盒的位置 as!j 0j%
struts.xslt.nocache S,RJ#.:F[t
Whether or not XSLT templates should not be cached 9W$)W
是否XSLT模版应该被缓存 ye2Oh7