struts2的struts.properties配置文件详解 N1Pm4joH%
w`?Rd
struts.action.extension V&>\U?q:
The URL extension to use to determine if the request is meant for a Struts action <P"4Mk7`s
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;& PK6G
$^1L|KgXp
struts.configuration KOQ9K
The org.apache.struts2.config.Configuration implementation class 0D*uZ,oBEw
org.apache.struts2.config.Configuration接口名 e yLVu.
+uY)MExs2
struts.configuration.files 3n=`SLj/a
A list of configuration files automatically loaded by Struts s?2DLXv}!
struts自动加载的一个配置文件列表 m@_m"1_;
%j=xL V\
struts.configuration.xml.reload 't5 I%F
Whether to reload the XML configuration or not /#,3JU$w
是否加载xml配置(true,false) i47xF7y\
ps*dO
struts.continuations.package Lk-%I?
The package containing actions that use Rife continuations {ta0dS;1
含有actions的完整连续的package名称 j+>#.22+
sMikTwR/^
struts.custom.i18n.resources >nnjLrI
Location of additional localization properties files to load c T!L+zg
加载附加的国际化属性文件(不包含.properties后缀) S24wv2Uw i
ZPISclSA+
struts.custom.properties \\WIu?
Location of additional configuration properties files to load p`i_s(u
加载附加的配置文件的位置 ,z1fiq
DG&[.dR+
kZ0|wML8
struts.devMode bxS+ R\
Whether Struts is in development mode or not UW%.G
是否为struts开发模式 gtBnP~zT\B
Ve1O<i
struts.dispatcher.parametersWorkaround T|c9Swur
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N{(Q,+ ~
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f~3_Rv!
E|aPkq]
struts.enable.DynamicMethodInvocation ~
}<!ON;
Allows one to disable dynamic method invocation from the URL ^.d97rSm
允许动态方法调用 nsCat($)
;BR`}~m
struts.freemarker.manager.classname r.V< 5xV
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $:bU<
org.apache.struts2.views.freemarker.FreemarkerManager接口名 SgOn:xg;3L
o~*5FN}%+l
struts.i18n.encoding i'Oh^Y)E#
The encoding to use for localization messages :.+?v*%;n
国际化信息内码 E!eBQ[@
'kD~tpZ
struts.i18n.reload #jja#PF]7
Whether the localization messages should automatically be reloaded ;'B\l@U\
是否国际化信息自动加载 ~$zodrS9
qQ_o>+3VAy
struts.locale :V%XEN)
The default locale for the Struts application UO&
p2
默认的国际化地区信息 |^ao,3h#
.i7bI2^
struts.mapper.class ^r7-|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !lf:x
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5 E%dF9q
LZCziW
struts.multipart.maxSize l1|z;
$_z
The maximize size of a multipart request (file upload) "SuBtoK
multipart请求信息的最大尺寸(文件上传用) -n-rKN.T
}- Jw"|^W
struts.multipart.parser DJtKLG0
The org.apache.struts2.dispatcher.multipart. ;(kU:b|j
MultiPartRequest parser implementation for a multipart request (file upload) QDRgVP
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;plzJ6>
I.<>6ISI@
39W6"^q"o
struts.multipart.saveDir 6E!C xXUX
The directory to use for storing uploaded files Q&Rj)1!
设置存储上传文件的目录夹 0nF>E@ j^[
mxYsP6&
struts.objectFactory 2[\I{<2/9
The com.opensymphony.xwork2.ObjectFactory implementation class 7DU"QeLeb
com.opensymphony.xwork2.ObjectFactory接口(spring) 3zO'=gwJ
rf% E+bh4
struts.objectFactory.spring.autoWire ,Z7tpFC
Whether Spring should autoWire or not '~^3 =[Z
是否自动绑定Spring dnby &-+T
#Fua^]n
struts.objectFactory.spring.useClassCache EH'?wh|Yp
Whether Spring should use its class cache or not %}U-g"I
是否spring应该使用自身的cache x}.Q9L
iB Ld*B|#K
struts.objectTypeDeterminer GRanR'xG
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J^@0Ff;=5^
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V}l>p?
U20G{%%
struts.serve.static.browserCache M'=27!D^
If static content served by the Struts filter should set browser caching header properties or not *3hqz<p4:
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3f`+-&|M
UGy~Ecv
struts.serve.static <}c`jN!z.
Whether the Struts filter should serve static content or not PNSZ
j#
是否struts过滤器应该提供静态内容 -ISI!EU$
bF88F_
struts.tag.altSyntax mCtuR*z_
Whether to use the alterative syntax for the tags or not 3N?WpA768/
是否可以用替代的语法替代tags FTtGiGd|Zy
*g^U=t
struts.ui.templateDir p;!'5 f
The directory containing UI templates cS98%@DR
UI templates的目录夹 Azrc+ k
P`'Nv
struts.ui.theme Nb[z+V{=
The default UI template theme 4c2*)x$@
默认的UI template主题 =kq!e
qA<PF+f
struts.url.http.port ;r[@;2p*(
The HTTP port used by Struts URLs dkuB{C,
设置http端口 &~+lXNXF
1.]Py" @:
struts.url.https.port $/%|0tQ
The HTTPS port used by Struts URLs jUq^$+N
设置https端口 /@5X0m
#c5 NFU}9
struts.url.includeParams C3af>L@}
The default includeParams method to generate Struts URLs =GpO}t">
在url中产生 默认的includeParams a;eV&~
JJ3(0
+
(m[]A&u
struts.velocity.configfile &L,zh{Mp
The Velocity configuration file path goi5I(yn^
velocity配置文件路径 r'/7kF- 5
b$P=rIB
struts.velocity.contexts 8>Hnv]p
List of Velocity context names 7FMg6z8~
velocity的context列表 '&5A*X]d
qb y!
mnM#NT5]
struts.velocity.manager.classname 8t!/Op?
org.apache.struts2.views.velocity.VelocityManager implementation class dA[Z\
org.apache.struts2.views.velocity.VelocityManager接口名 !GcH )
j_E$C.XU{g
struts.velocity.toolboxlocation T<\Q4Coth
The location of the Velocity toolbox 2G8f4vsC[
velocity工具盒的位置 o$>A;<
struts.xslt.nocache J7BfH,o
Whether or not XSLT templates should not be cached ~S)o('
是否XSLT模版应该被缓存 B*A{@)_