struts2的struts.properties配置文件详解 Uu
X"AFy~\
668bJ.M\O
struts.action.extension LgNNtZ&F
The URL extension to use to determine if the request is meant for a Struts action 4:@|q:DR
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "r
V4[MVxt
0w['jh|,
struts.configuration z=p
The org.apache.struts2.config.Configuration implementation class 4LjSDgA
org.apache.struts2.config.Configuration接口名 oPy zk7{
]R{"=H'
struts.configuration.files +2}(]J=-
A list of configuration files automatically loaded by Struts na3kHx@
struts自动加载的一个配置文件列表 y|Y3,s
1Kh?JH
struts.configuration.xml.reload 7h]R{ _
Whether to reload the XML configuration or not Kk9 8FI0]
是否加载xml配置(true,false) ;0!Wd
9,5II0N L
struts.continuations.package 62x< rph
The package containing actions that use Rife continuations &&]!+fTZ\(
含有actions的完整连续的package名称 $M`;."
sYA-FO3gh
struts.custom.i18n.resources is?&%VY
Location of additional localization properties files to load _<a)\UR
加载附加的国际化属性文件(不包含.properties后缀) j$|C/E5?
r65NKiQD
struts.custom.properties 3Gl]g/
Location of additional configuration properties files to load otSPi7|k
加载附加的配置文件的位置 C5 5n
dO4#BDn"=
]0i2]=J&,
struts.devMode pmyM&'#Id
Whether Struts is in development mode or not Au._n,<
是否为struts开发模式 +@uC:3jM
'B5J.Xe:
struts.dispatcher.parametersWorkaround &&nO]p`
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p\_qHq\;j
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GLQvAHC
]GtR8w@w
struts.enable.DynamicMethodInvocation =Xjuz:9D~
Allows one to disable dynamic method invocation from the URL r)5\3j[P
允许动态方法调用 A] ?O&m|
c;rp@_ULG?
struts.freemarker.manager.classname U\8#Qvghf
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h==GdS4
org.apache.struts2.views.freemarker.FreemarkerManager接口名 8}oDRN!J
f5GR#3-h(
struts.i18n.encoding x0A%kp&w
The encoding to use for localization messages cNr][AzU@
国际化信息内码 a61eH )a
{qWG^Db
struts.i18n.reload ?SO F
n
Whether the localization messages should automatically be reloaded m=iov2K>
是否国际化信息自动加载 P>T*:!s ;
06@0r
struts.locale y]YS2^
The default locale for the Struts application wt.{Fqm
默认的国际化地区信息 M}oj!xGB
c^Gwri4
struts.mapper.class N"x\YHp
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ms\/=96F
org.apache.struts2.dispatcher.mapper.ActionMapper接口 ar
qLp|
y[WYH5&DJ
struts.multipart.maxSize D
,ZNh1xt
The maximize size of a multipart request (file upload) mYjiiql~
multipart请求信息的最大尺寸(文件上传用) .-u k
cevV<Wy+
struts.multipart.parser :IT U0%;!+
The org.apache.struts2.dispatcher.multipart. d)GkXll1D
MultiPartRequest parser implementation for a multipart request (file upload) @oqi@&L'C
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /-K dCp~
!+45=d 5
YNJpQAuSn)
struts.multipart.saveDir YTjuSV
The directory to use for storing uploaded files CAFE}|
设置存储上传文件的目录夹 aH PSnB&
'oiD#\t4
struts.objectFactory ,6orB}w?z
The com.opensymphony.xwork2.ObjectFactory implementation class LB*#
com.opensymphony.xwork2.ObjectFactory接口(spring) ~2A$R'x b
V0'p1J tD
struts.objectFactory.spring.autoWire .FbZVY c]
Whether Spring should autoWire or not 8X
?GY8W:
是否自动绑定Spring KYRm
Ui#
!:5`im;i
struts.objectFactory.spring.useClassCache K?Xo3W%K
Whether Spring should use its class cache or not 1[/$ZYk:
是否spring应该使用自身的cache K]pKe"M
P$6f +{
struts.objectTypeDeterminer :YJ7J4
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [%iUg\'7d
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^Q)gsJY|I
-90ZI1O`
struts.serve.static.browserCache /Xu;/MMpd3
If static content served by the Struts filter should set browser caching header properties or not Z:o
86~su
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Vi?~0.Z%
gLxT6v5wk.
struts.serve.static *L4]\wf
Whether the Struts filter should serve static content or not _czbUl
是否struts过滤器应该提供静态内容 '^F|k`$r
\;B$hT7z*
struts.tag.altSyntax Zn<(,e
Whether to use the alterative syntax for the tags or not Bsu=^z
是否可以用替代的语法替代tags V:(w\'wm
8`inRfpY
struts.ui.templateDir >0<KkBH
The directory containing UI templates H7tQ#
UI templates的目录夹 93^(O8.
o3i,B),K
struts.ui.theme Xc9p;B>^Ts
The default UI template theme <(bCz>o|
默认的UI template主题 R%)2(\
RlslF9f
struts.url.http.port j""y2c1
The HTTP port used by Struts URLs .,ppGc|*
设置http端口 "doU.U&u
o! 2n}C
struts.url.https.port 3!"b
guE
The HTTPS port used by Struts URLs u_p7Mcb
设置https端口 |`k1zc)9
RvPniT(<?
struts.url.includeParams PV]k3&y
The default includeParams method to generate Struts URLs w`.T/
在url中产生 默认的includeParams X #p o|,Q
G>[
NZE
qr'x0r|<>
struts.velocity.configfile \C+*loLs
The Velocity configuration file path aJy>
velocity配置文件路径 38w.sceaT
C)J_lI{^
struts.velocity.contexts (?!(0Ywbg
List of Velocity context names qlz9&w
velocity的context列表 ;e~{TkD
Msv*}^>
/jZaU`
struts.velocity.manager.classname yUD_w
org.apache.struts2.views.velocity.VelocityManager implementation class -40'[a9E
org.apache.struts2.views.velocity.VelocityManager接口名 ]F"(OWW
`'[7~ Ew[
struts.velocity.toolboxlocation WbC0H78]
The location of the Velocity toolbox 9zoT6QP4
velocity工具盒的位置 -TK|Y"
struts.xslt.nocache {8!ZKlB
Whether or not XSLT templates should not be cached {?@t/.4[W3
是否XSLT模版应该被缓存 ;o-\. =l