struts2的struts.properties配置文件详解 \-?@
&' :
v3vQfcxR
struts.action.extension dLs40 -R
The URL extension to use to determine if the request is meant for a Struts action a;2Lgv0/
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *Bgk3(n)
.^%!X!r
struts.configuration aMaFxEW
The org.apache.struts2.config.Configuration implementation class ZV;lr Vv
org.apache.struts2.config.Configuration接口名 +80yyn#
2}^fhMS
struts.configuration.files 1|c\^;cTkt
A list of configuration files automatically loaded by Struts 6fOh *
struts自动加载的一个配置文件列表 H[a1n' "<:
DfNX@gbo
struts.configuration.xml.reload "7*cF>FE 8
Whether to reload the XML configuration or not Mk -Rl
是否加载xml配置(true,false) #~SQujgB
LK'|sO>|
struts.continuations.package pg.z `k
The package containing actions that use Rife continuations %j3*j
含有actions的完整连续的package名称 8=%%C:
@+3@Z?!SZ
struts.custom.i18n.resources i"{ \ >
Location of additional localization properties files to load 6H\apgHm
加载附加的国际化属性文件(不包含.properties后缀) X~ AE??
'<35XjW
struts.custom.properties 1~HR;cTv=
Location of additional configuration properties files to load }LaRa.3
加载附加的配置文件的位置 D6KYkN(,v
Gg3cY{7
Yb<t~jm
struts.devMode I<'wZJRRa
Whether Struts is in development mode or not Y GZX}-
是否为struts开发模式 FD&"k=p+X
l }i
.
struts.dispatcher.parametersWorkaround JY|f zL
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ];.H]TIc6
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Xy>+r[$D:
PV*U4aP
struts.enable.DynamicMethodInvocation nzdJ*C
Allows one to disable dynamic method invocation from the URL 8p?Fql}F[
允许动态方法调用 %z(nZ%,Z
BmRk|b
struts.freemarker.manager.classname @} 61D
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F .(zS(q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 j5,vSh~q;'
AC$:.KLI
struts.i18n.encoding q5irKT*Hs
The encoding to use for localization messages 1%?J l~M
国际化信息内码 pD+_ K
a/Cd;T2
struts.i18n.reload AQ>8] `e`
Whether the localization messages should automatically be reloaded ,,Dwb\B}
是否国际化信息自动加载 q@i,$R
S9$* w!W
struts.locale SYPG.O?I
The default locale for the Struts application eAkj pc
默认的国际化地区信息 p#~Dq(Q
`@acQs;0
struts.mapper.class , 8NY<sFh
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q.q'pJ-
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ccUq!1
Pw^lp'dO
struts.multipart.maxSize ZR~ *Yofy
The maximize size of a multipart request (file upload) wz-#kH5?
multipart请求信息的最大尺寸(文件上传用) 8u,f<XHi"a
E6{|zF/3'
struts.multipart.parser 5AWIk,[
The org.apache.struts2.dispatcher.multipart. vpoeK'bi,
MultiPartRequest parser implementation for a multipart request (file upload) c&1:H1#
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) qeK_w
'
V Q6&7@
c
<$^76=x,8P
struts.multipart.saveDir /e^q>>z
The directory to use for storing uploaded files XNwZSW
设置存储上传文件的目录夹 .kl _F7
W?5u O
struts.objectFactory N{}XHA
The com.opensymphony.xwork2.ObjectFactory implementation class f_*Bd.@
com.opensymphony.xwork2.ObjectFactory接口(spring) #|\NG
~Bll\3-=
struts.objectFactory.spring.autoWire B cMgfa/
Whether Spring should autoWire or not K[%)_KW
是否自动绑定Spring ,DN>aEu1
;T Af[[P
struts.objectFactory.spring.useClassCache ?N
6'*2{NT
Whether Spring should use its class cache or not v'"0Ya
是否spring应该使用自身的cache 73kF=*m
<p<J;@
struts.objectTypeDeterminer |fx*F}1
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'n7)()"2
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cr{;gP
+ht -Bl
struts.serve.static.browserCache <<zYF.9L]
If static content served by the Struts filter should set browser caching header properties or not zCvt"!}RRa
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2qY`*Y.2
qRXb9c
struts.serve.static ]-Z="YPY
Whether the Struts filter should serve static content or not _;]
3w
是否struts过滤器应该提供静态内容 X~DI d
"v
@h
struts.tag.altSyntax gK {-eS
Whether to use the alterative syntax for the tags or not ^f:oKKaAW;
是否可以用替代的语法替代tags }uJH!@j
fdIO'L_
struts.ui.templateDir \/3Xb
The directory containing UI templates gpB pG
UI templates的目录夹 ^-,
aB
UN7>c0B
struts.ui.theme g1JBssw&m
The default UI template theme }B=`nbgIG7
默认的UI template主题 orB8q((
;(cqaB
struts.url.http.port #$&!)13
The HTTP port used by Struts URLs k_p4 f %9
设置http端口 xef@-%mcoy
50:gk*hy
struts.url.https.port ;aJBx
The HTTPS port used by Struts URLs S&y (A0M
设置https端口
iw!kV
~_SoP
struts.url.includeParams H"_ZqEg
The default includeParams method to generate Struts URLs :zXkQQD8`
在url中产生 默认的includeParams v(+9&
1l$c*STK
:Ogt{t
struts.velocity.configfile #&JhA2]q
The Velocity configuration file path j[zo~Y4z
velocity配置文件路径 #HjiE
eyq8wQT
struts.velocity.contexts y\]~S2}G
List of Velocity context names "0JG96&\
velocity的context列表 %F'*0<
7^}np^[HB
2f'3Vjp~G
struts.velocity.manager.classname | |=q"h3(
org.apache.struts2.views.velocity.VelocityManager implementation class Zi&qa+F
org.apache.struts2.views.velocity.VelocityManager接口名 W'l
&rm@
`Pa)H
struts.velocity.toolboxlocation cNi)[2o7
The location of the Velocity toolbox M_wqb'=
velocity工具盒的位置 /%w9F
struts.xslt.nocache '+6H= Qn
Whether or not XSLT templates should not be cached V)
#vvnq
是否XSLT模版应该被缓存
bL: !3|M