struts2的struts.properties配置文件详解 WYI? M
Q_M2!qj
struts.action.extension >TK`s@jdSV
The URL extension to use to determine if the request is meant for a Struts action
3nR|*t;
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 w;{k\=W3Ff
Vv6xVX
struts.configuration 24|:VxO
The org.apache.struts2.config.Configuration implementation class (Z6[a{}1i
org.apache.struts2.config.Configuration接口名 b!_l(2
'p Z~3q
struts.configuration.files WMl_$Fd6
A list of configuration files automatically loaded by Struts @{XN}tWDOp
struts自动加载的一个配置文件列表 .r]n<
\h_hd%'G
struts.configuration.xml.reload R)G'ILneV
Whether to reload the XML configuration or not `| R8WM
是否加载xml配置(true,false) RwT.B+Onuy
I>G)wRpfR'
struts.continuations.package M,y='*\M
The package containing actions that use Rife continuations :tR%y"
含有actions的完整连续的package名称 -7;RPHJs
d v@6wp:
struts.custom.i18n.resources <%) :'0q&
Location of additional localization properties files to load {zmo7~=
加载附加的国际化属性文件(不包含.properties后缀) 7B+?1E(
^!Bpev
struts.custom.properties x{Gih1
Location of additional configuration properties files to load D {>,2hC
加载附加的配置文件的位置 $0cMrf@
KLAnW#
yf_<o
struts.devMode C|z`hNp
Whether Struts is in development mode or not @{t^8I#]
是否为struts开发模式 qWQJ>
"fz-h
struts.dispatcher.parametersWorkaround ?;uzx7@F
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /?2yo{Fg
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t"RgEH@
ho^1T3
struts.enable.DynamicMethodInvocation F
\} Kh3
Allows one to disable dynamic method invocation from the URL Q"Q|]f*
允许动态方法调用 NP%ll e,l
*7!}[ v_
struts.freemarker.manager.classname r@s, cCK9?
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Xb|hP
org.apache.struts2.views.freemarker.FreemarkerManager接口名 [iL2c=_
:~6%nFo
struts.i18n.encoding 1Rl`}7Km
The encoding to use for localization messages `.[hOQ7
国际化信息内码
{n.g7S~
%y8w9aGt
struts.i18n.reload zhYE#hv2
Whether the localization messages should automatically be reloaded wiwJD}3h'
是否国际化信息自动加载 eaF5S'k 4$
HJ_xg6.x
struts.locale Lg9ktRKK
The default locale for the Struts application /0@}7+&
默认的国际化地区信息 -Ca.:zX
)xTp7YnZ;
struts.mapper.class yfP&Q<|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I0OsaX'
org.apache.struts2.dispatcher.mapper.ActionMapper接口 NK"y@)%0
)OjbmU!7
struts.multipart.maxSize qZ8lU
The maximize size of a multipart request (file upload) @h^5*M
multipart请求信息的最大尺寸(文件上传用) zRf]SZ(tO
LU;ma((yy[
struts.multipart.parser rEddX
The org.apache.struts2.dispatcher.multipart. +86\&y)
MultiPartRequest parser implementation for a multipart request (file upload) (y(V,kXwa8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G. <9K9K
Y z%=
H<1C5-
struts.multipart.saveDir %J+$p\c
The directory to use for storing uploaded files w(mn@Qc
设置存储上传文件的目录夹 N<:Ra~Ay
'n>|jw)
struts.objectFactory drb_GT
The com.opensymphony.xwork2.ObjectFactory implementation class -,XS2[
com.opensymphony.xwork2.ObjectFactory接口(spring) nNQ\rO
IP{Cj=
struts.objectFactory.spring.autoWire *NXwllrci
Whether Spring should autoWire or not ;>Z#1~8
是否自动绑定Spring 6E_YQbdy
,pAMQ5
struts.objectFactory.spring.useClassCache 9N'$Y*. d<
Whether Spring should use its class cache or not ;q$<]X_S)}
是否spring应该使用自身的cache EH,uX{`e
]JhtO{
struts.objectTypeDeterminer MfYe @;m
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y`(z_5ClT
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =Oo*7|Z
=8tduB
struts.serve.static.browserCache -u8@ .
If static content served by the Struts filter should set browser caching header properties or not ~zRW*pd
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }8r+&e
59EAqz[:
struts.serve.static Gg-<3z
Whether the Struts filter should serve static content or not zGz5|u
是否struts过滤器应该提供静态内容 ShSh/0
h\.UUC&<
struts.tag.altSyntax -Mv`|odY/
Whether to use the alterative syntax for the tags or not :uI}"Bp
是否可以用替代的语法替代tags I7[+:?2
KNK0w 5
struts.ui.templateDir b!`:|!7r'
The directory containing UI templates ~xHr/:
UI templates的目录夹 G`)I _uO
Ebq5P$
struts.ui.theme ~gX@2!D5k
The default UI template theme 3$y]#L
默认的UI template主题 "M? (Ax
q=R=z$yr
struts.url.http.port bAW;2
NB
The HTTP port used by Struts URLs ;>CmVC'/
设置http端口 mBnC]$<R
DU[UGJg
struts.url.https.port QDgOprha
The HTTPS port used by Struts URLs O ^e
!<bBd
设置https端口 8`^I.tD
sN;U,{
struts.url.includeParams "@Te!.~A.
The default includeParams method to generate Struts URLs #G]s.by('
在url中产生 默认的includeParams }>p)|YT"/
R)<>} y
yyiZV\ /
struts.velocity.configfile 778L[wYe
The Velocity configuration file path H9 't;Do
velocity配置文件路径 [u-~<80
&[kwM395
struts.velocity.contexts 55yP.@i9J
List of Velocity context names Bp4QHv9xqL
velocity的context列表 -`Z5#8P
KK7Y"~ 9&-
,ciNoP*-~%
struts.velocity.manager.classname 38 B\ \
org.apache.struts2.views.velocity.VelocityManager implementation class %VwB
?
org.apache.struts2.views.velocity.VelocityManager接口名 ||/noUK
blS*HKw
struts.velocity.toolboxlocation `@`Q"J
The location of the Velocity toolbox 3K54:
velocity工具盒的位置 h~F uuL
struts.xslt.nocache BD9` +9
Whether or not XSLT templates should not be cached P=S)V
是否XSLT模版应该被缓存 OBj.-jL