struts2的struts.properties配置文件详解 J#0GlK@"
CV s8s
struts.action.extension kt:)W])V
The URL extension to use to determine if the request is meant for a Struts action plK=D#)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OQ6sv/
V/J>GRjw
struts.configuration O~.U:45t
The org.apache.struts2.config.Configuration implementation class d4%dIR)
org.apache.struts2.config.Configuration接口名 s0r"N7~
([Ebsj
struts.configuration.files ?8Et[tFg
A list of configuration files automatically loaded by Struts wuKl-:S;Vs
struts自动加载的一个配置文件列表 mKV'jm0
1xz\=HOT
struts.configuration.xml.reload [_h%F,_ A
Whether to reload the XML configuration or not gF3TwAr
是否加载xml配置(true,false) lY.B
B]1HS`*7
struts.continuations.package x"vwWJNQ
The package containing actions that use Rife continuations z+jh;!i
含有actions的完整连续的package名称 tG/1pW
Mec{_jiH&D
struts.custom.i18n.resources v51EXf
Location of additional localization properties files to load qtHfz"p
加载附加的国际化属性文件(不包含.properties后缀) +O'vj
{1~9vHAZ
struts.custom.properties 9SY(EL
Location of additional configuration properties files to load Yb}w;F8(
加载附加的配置文件的位置 3wZ(+<4i
i|%5
Kh)FyV
struts.devMode BBvZeG $Y
Whether Struts is in development mode or not L!g DFZr
是否为struts开发模式 N0Gf0i>
Uan,H1a
struts.dispatcher.parametersWorkaround M`~!u/D7
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sMH#BCC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :lK4
db
p'&*r2_ram
struts.enable.DynamicMethodInvocation ob'n{T+lZ
Allows one to disable dynamic method invocation from the URL *xcP`
允许动态方法调用 ;W0]66&
\OcMiuw
struts.freemarker.manager.classname H>?F8R_iq
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _S"f_W
org.apache.struts2.views.freemarker.FreemarkerManager接口名 71O3O7
E:FO_R(Xq
struts.i18n.encoding NY@"&p'Q
The encoding to use for localization messages a}>Dz 1R
国际化信息内码 j5\$[-';
\X&
C4#
struts.i18n.reload hq?jdNy
:
Whether the localization messages should automatically be reloaded rs:Q%V
^
是否国际化信息自动加载 a=+T95ulDy
khAqYu")
struts.locale =MC~GXJSNw
The default locale for the Struts application v)):$s?WB
默认的国际化地区信息 Wt J{
A
W)a">|
struts.mapper.class f jI #-
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Wr>(#*r7q
org.apache.struts2.dispatcher.mapper.ActionMapper接口 pCC 7(Ouo
9=
V>f)R
struts.multipart.maxSize x l0DN{PG
The maximize size of a multipart request (file upload) aX^+ O,
multipart请求信息的最大尺寸(文件上传用) Pdw#o^Iq^
4<.O+hS
struts.multipart.parser r~8;kcu7
The org.apache.struts2.dispatcher.multipart. DZe}y^F
MultiPartRequest parser implementation for a multipart request (file upload) 5lTD]d
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Q.k
:\m*h
/s
c.C
]>Si0%
struts.multipart.saveDir M^6$
MMx
The directory to use for storing uploaded files W&(f&{A
设置存储上传文件的目录夹 LmQ/#Gx
Z)&D`RCf
struts.objectFactory =-~;OH/
The com.opensymphony.xwork2.ObjectFactory implementation class cS|VJWgTZ
com.opensymphony.xwork2.ObjectFactory接口(spring) (R'+jWH
Fk1.iRVzi
struts.objectFactory.spring.autoWire |;u}sX1t9
Whether Spring should autoWire or not s-k_d<
是否自动绑定Spring z<pJYpxH
\cQ .|S
struts.objectFactory.spring.useClassCache R#(G%66
Whether Spring should use its class cache or not 4DLq}v
是否spring应该使用自身的cache vG
Vd
"+|L_iuNQ
struts.objectTypeDeterminer s&'BM~WI
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !gH9 ay
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~O;y?]U
hazq#J!
struts.serve.static.browserCache Pl+xH%U+?
If static content served by the Struts filter should set browser caching header properties or not 6:?rlh
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )"`!AerJ
~|lIC !q
struts.serve.static kIvvEh<L=
Whether the Struts filter should serve static content or not <\@1Zz@ms
是否struts过滤器应该提供静态内容 }B q^3?,#{
47UO*oLS
struts.tag.altSyntax T&xt`|
Whether to use the alterative syntax for the tags or not :?CQuEv-
是否可以用替代的语法替代tags NQ9Ojj{#
w#(RW7":F
struts.ui.templateDir [f!O6moR6
The directory containing UI templates c8A`<-\MfB
UI templates的目录夹 [B^ G-
Lw*]EG|?
struts.ui.theme )%Ru#}1X6
The default UI template theme a<m-V&4x
默认的UI template主题 h qmSE'8
ZA\/{Fw
struts.url.http.port @Bs0Avj.
The HTTP port used by Struts URLs 4h|dHXYZ
设置http端口 uO6_lOT9n
q\,H9/.0k
struts.url.https.port ,[~EThcq
The HTTPS port used by Struts URLs `/U:u9H9v
设置https端口 y8L:nnSj
^j`
vk
struts.url.includeParams I/tzo(r
The default includeParams method to generate Struts URLs hYV{N7$U|
在url中产生 默认的includeParams pv T!6+
Xy{b(b;9
zumRbrz
struts.velocity.configfile 2Zm*f2$xM
The Velocity configuration file path +)|2$$m
velocity配置文件路径 OjCT%6hy;
*0U(nCT&m
struts.velocity.contexts :J"e{|g',
List of Velocity context names 1$|z%(
velocity的context列表 ]-6 G'i?
`DwlS!0
7Ct m({I-
struts.velocity.manager.classname 8P*n|]B.'
org.apache.struts2.views.velocity.VelocityManager implementation class P.wINo
org.apache.struts2.views.velocity.VelocityManager接口名 pM=vW{"I/
;?&;I!
struts.velocity.toolboxlocation BoXCc"q[
The location of the Velocity toolbox J+TYm%A;-
velocity工具盒的位置 8(A:XQN"h
struts.xslt.nocache j)uIe)wZw
Whether or not XSLT templates should not be cached Fg~,1[8w<
是否XSLT模版应该被缓存 o{
(v