struts2的struts.properties配置文件详解 c52S2f7
gUrXaD#
struts.action.extension p* tAwl
The URL extension to use to determine if the request is meant for a Struts action 6MmkEU z
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tB<|7
4_d'Uh&]
struts.configuration 6.k>J{GG
The org.apache.struts2.config.Configuration implementation class !T~C =,;
org.apache.struts2.config.Configuration接口名 TSUT3'&~p
V]P%@<C
struts.configuration.files VP_S[+Zv~
A list of configuration files automatically loaded by Struts 1(jDBP!8
struts自动加载的一个配置文件列表 *V?p&/>MT
%<@x(q
struts.configuration.xml.reload \kG;T=H
Whether to reload the XML configuration or not ?K=
X[
是否加载xml配置(true,false) BL H~`N3U
C]NL9Gq`
struts.continuations.package |WsB0R
The package containing actions that use Rife continuations \pVWYx
含有actions的完整连续的package名称 yc.9CTxx
ab^>_xD<
struts.custom.i18n.resources $m;DwlM
Location of additional localization properties files to load ~
}?*v}
加载附加的国际化属性文件(不包含.properties后缀) TgvBy
`-[|@QNFz
struts.custom.properties oETl?Vt
Location of additional configuration properties files to load r;8X6C
加载附加的配置文件的位置 q1,jDJglZ
/Gvd5
$kd9^lj#[
struts.devMode Q3 yW#eD
Whether Struts is in development mode or not #L9F\ <K
是否为struts开发模式 ev9ltl{
M7\yEi"*
struts.dispatcher.parametersWorkaround MT{ovDA].
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yR[htD`
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #SqU>R
I3d!!L2ma
struts.enable.DynamicMethodInvocation _
cm^Fi5
Allows one to disable dynamic method invocation from the URL `R,g_{Mj
允许动态方法调用 Og<nnq
A_2oQ*
struts.freemarker.manager.classname L<Q>:U.@\
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h9I vuv'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 v6KRE3:V
L<0eIw
struts.i18n.encoding s|IC;C|
The encoding to use for localization messages 6 B*,Mu4A
国际化信息内码 v&Oc,W
2dnyIgi
struts.i18n.reload wOF";0EN
Whether the localization messages should automatically be reloaded rLp (}^
是否国际化信息自动加载 F-PQ`@ZNW
vY2^*3\<D
struts.locale m.w.h^f$&
The default locale for the Struts application y8$I=
默认的国际化地区信息 ?V' zG&n@
cA{7*=G?
struts.mapper.class :4/37R(~l8
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }N0v_Nas;v
org.apache.struts2.dispatcher.mapper.ActionMapper接口 J3c8WS{:
tPaNhm[-q7
struts.multipart.maxSize =_Ip0FfK!
The maximize size of a multipart request (file upload) ayrCLv
multipart请求信息的最大尺寸(文件上传用) C^*3nd3
k%%0"+y#a
struts.multipart.parser yhh\?qqy
The org.apache.struts2.dispatcher.multipart. .dKFQH iYJ
MultiPartRequest parser implementation for a multipart request (file upload) @ ('/NjTZ
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) CJe~>4BT
IM=3n%6
;3Z6K5z*f
struts.multipart.saveDir %JPBD]&M
The directory to use for storing uploaded files x@? YS
设置存储上传文件的目录夹 =H;F{J"
!pxOhO.V
struts.objectFactory {3eg4j.Z
The com.opensymphony.xwork2.ObjectFactory implementation class fzZ`O{$8
com.opensymphony.xwork2.ObjectFactory接口(spring) !z2 KQ
4C
X{ f#kB]w
struts.objectFactory.spring.autoWire &9F(C R
Whether Spring should autoWire or not _m*FHi
是否自动绑定Spring A8T8+M:
U5yBU9\G
struts.objectFactory.spring.useClassCache EGxCNB
Whether Spring should use its class cache or not =:_DXGW2H
是否spring应该使用自身的cache 9y?)Ga
^0HgE;4
struts.objectTypeDeterminer lw=!v%L
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class q#\4/Dt
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >!WH%J
v4vIcHDs
struts.serve.static.browserCache X ;Cl8
If static content served by the Struts filter should set browser caching header properties or not U5ME`lN*`
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xl ,(=L]
_*fOn@Vwo
struts.serve.static U# U*^#
Whether the Struts filter should serve static content or not V,&A?
Y
是否struts过滤器应该提供静态内容 N~tq]
)jGB[s";)y
struts.tag.altSyntax mOfTq]
@B
Whether to use the alterative syntax for the tags or not sw+vyBV)r
是否可以用替代的语法替代tags 1.I58(0~+
f"R'Q|7D
struts.ui.templateDir %<{1N|
The directory containing UI templates +*Zjo&pc
UI templates的目录夹 4WP@ F0@n3
ne
8rF.D
struts.ui.theme
6)yi^v
The default UI template theme "=,IbC
默认的UI template主题 )`K!XX$%
@{U@?6eZ
struts.url.http.port p(.z#o#
The HTTP port used by Struts URLs I R~szUY6
设置http端口 65U&P5W
L\xR<m<,
struts.url.https.port -8Hv3J'=
The HTTPS port used by Struts URLs n!&F%|o^^
设置https端口 vP'#x
nrKir
struts.url.includeParams Y3O/`-9i
The default includeParams method to generate Struts URLs Xxr"Gc[
在url中产生 默认的includeParams Ud)2Mq1#M
LC})aV|
|p`}vRv
Uh
struts.velocity.configfile nQ#NW8*Fs
The Velocity configuration file path ZoR6f\2M
velocity配置文件路径 {
t@7r
=0mn6b9-=
struts.velocity.contexts Axw+zO
List of Velocity context names l7#2
e ORm
velocity的context列表 65l9dM2
w^MiyX
6"yIk4u:
struts.velocity.manager.classname Y2$xlqQd"
org.apache.struts2.views.velocity.VelocityManager implementation class `\yQn7 Oq
org.apache.struts2.views.velocity.VelocityManager接口名 Qv]>L4PO
1F R
struts.velocity.toolboxlocation *_@$"9
The location of the Velocity toolbox |O{kv}YZ
velocity工具盒的位置 xE-
_Fv9
struts.xslt.nocache '?1g_C QsS
Whether or not XSLT templates should not be cached LoW}!,|
是否XSLT模版应该被缓存 <Aqo[']