struts2的struts.properties配置文件详解 y4?>5{`W
*M`[YG19!e
struts.action.extension q?0goL
The URL extension to use to determine if the request is meant for a Struts action Ppp&3h[dW)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &Y#9~$V=
HE,wEKp
struts.configuration 6)bfd^JYn
The org.apache.struts2.config.Configuration implementation class s[s^z<4G
org.apache.struts2.config.Configuration接口名 9n%W-R.
ljf9L:L
struts.configuration.files ]g)%yuox9F
A list of configuration files automatically loaded by Struts ovfw _
struts自动加载的一个配置文件列表 \@F{Q-
X|q0m3jt
struts.configuration.xml.reload zYs? w=
Whether to reload the XML configuration or not (f.A5~e
是否加载xml配置(true,false) jyT(LDsS
VI+Y 4T@
struts.continuations.package EwOTG
Y{0p
The package containing actions that use Rife continuations {MEU|9@
Y
含有actions的完整连续的package名称 ,`Mlo
b~~}(^Bg
struts.custom.i18n.resources 0WPxzmY
Location of additional localization properties files to load 4OIN@n*4
加载附加的国际化属性文件(不包含.properties后缀) 8'quQCx*=
7SM/bJ-M#
struts.custom.properties 6/n;u{|
Location of additional configuration properties files to load X>B/DT
加载附加的配置文件的位置 Ebk@x=E
pucHB<R@bL
V\xQM;
struts.devMode ?nn,RBS-
Whether Struts is in development mode or not J *B`C^i
是否为struts开发模式 _Ey8P0-I
W UV Q_<i+
struts.dispatcher.parametersWorkaround M<L<mP}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i@;a%$5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) D"WkD j"M
tvH)I px
struts.enable.DynamicMethodInvocation {38aaf|'/
Allows one to disable dynamic method invocation from the URL .5z|g@
6
允许动态方法调用 Zu hT \l
tO0+~Wm
struts.freemarker.manager.classname }hf*Jw
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =0-qBodbl
org.apache.struts2.views.freemarker.FreemarkerManager接口名 H9Z3.F(2
E:tUbWVp
struts.i18n.encoding rTJWftH!
The encoding to use for localization messages VcL
国际化信息内码 R.QcXz?d
Eg:p_F*lr
struts.i18n.reload Y\=:j7'
Whether the localization messages should automatically be reloaded 3k(?`4JJ
是否国际化信息自动加载 S`^W#,rj
9c 6V&b
struts.locale Qp54(`
The default locale for the Struts application pJ(l=a
默认的国际化地区信息 2u:j6ic
Ue7W&N^E
struts.mapper.class g\Zk*5(
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class aD^MoB3
org.apache.struts2.dispatcher.mapper.ActionMapper接口 @88 efF
SM<kE<q#
struts.multipart.maxSize S.jjB
The maximize size of a multipart request (file upload) %xruPWT:k
multipart请求信息的最大尺寸(文件上传用) &Y>u2OZ
-$q/7,os
struts.multipart.parser |{nI.>
The org.apache.struts2.dispatcher.multipart. LKZI@i)
MultiPartRequest parser implementation for a multipart request (file upload) }X?*o`sW
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) WWLVy(
_7<U[63
:6 fQE#(s&
struts.multipart.saveDir QUDVsN#
The directory to use for storing uploaded files Ss:,#|
设置存储上传文件的目录夹 +g[B &A!d+
)-{~7@yqZ
struts.objectFactory a8 1%M
The com.opensymphony.xwork2.ObjectFactory implementation class rifxr4c[X>
com.opensymphony.xwork2.ObjectFactory接口(spring) `lhLIQ'j
<j#EyGAV
struts.objectFactory.spring.autoWire -T8
gV1*(<
Whether Spring should autoWire or not 1sJN^BvuG
是否自动绑定Spring lN'/Z&62
""d>f4,S
struts.objectFactory.spring.useClassCache a3 x~B=E
Whether Spring should use its class cache or not a*hThr+$M
是否spring应该使用自身的cache B@=<'/S\7
Kd)m"9Cc
struts.objectTypeDeterminer QFPx4F7(e
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8hfh,v5(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !;gke,fB
|DD?3#G01
struts.serve.static.browserCache >C[1@-]G%7
If static content served by the Struts filter should set browser caching header properties or not gT
OMD
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 lo: ~~l
c5R{Sl
struts.serve.static yh:,[<q
Whether the Struts filter should serve static content or not cZ >W8{G
是否struts过滤器应该提供静态内容 L'Zud,JKg
3c3Z"JV
struts.tag.altSyntax ^j %UZ
Whether to use the alterative syntax for the tags or not nS4S[|w"
是否可以用替代的语法替代tags E2IV R]C2^
q1Sm#_7
struts.ui.templateDir }D+8K
The directory containing UI templates zf~zYZSr
UI templates的目录夹 7
L\?
to 6Q90(
struts.ui.theme y7OG[L/
The default UI template theme &*aU2{,s,;
默认的UI template主题 T6$<o\g'
cloI 6%5r
struts.url.http.port ~PnpYd<2
The HTTP port used by Struts URLs EC'bgFe
设置http端口 uN
62>
%Z yPK,("
struts.url.https.port 1,QZnF!.x
The HTTPS port used by Struts URLs z-5#bOABW
设置https端口 0)5Sx /5'
17)M.(qmuP
struts.url.includeParams fm>K4\2
The default includeParams method to generate Struts URLs ]F;]<_
在url中产生 默认的includeParams 9`xFZMd31A
F |81i$R
v:MS0]
struts.velocity.configfile 2TEeP7
The Velocity configuration file path K)&XQ`&
velocity配置文件路径 8$U ZL
Q+(:n)G_6E
struts.velocity.contexts 2bnIT>(
List of Velocity context names X#,[2&17Fh
velocity的context列表 7 afA'.=
-Y?(Zz_w
KHz838C]
struts.velocity.manager.classname dY@Tt&k8E
org.apache.struts2.views.velocity.VelocityManager implementation class $S8bp3)
org.apache.struts2.views.velocity.VelocityManager接口名 OIty
]c
L"7`
\4
struts.velocity.toolboxlocation a=.db&;vY
The location of the Velocity toolbox 8M+F!1-#
velocity工具盒的位置 I%>]!X
struts.xslt.nocache o!r4 frP
Whether or not XSLT templates should not be cached f^sb0nU
是否XSLT模版应该被缓存 HcVs(]tIW