struts2的struts.properties配置文件详解 7x#."6>Dy
qaG8:
struts.action.extension dy3fZ(=q^
The URL extension to use to determine if the request is meant for a Struts action T\w{&3ONm
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }6!m Q
_~bG[lX !
struts.configuration tL]T_]z
The org.apache.struts2.config.Configuration implementation class P(aN6)D
org.apache.struts2.config.Configuration接口名 >E9 k5
YK>?;U+|
struts.configuration.files @:t2mz:^i
A list of configuration files automatically loaded by Struts L~E|c/
struts自动加载的一个配置文件列表 X+QoO=02LR
sFw;P`
struts.configuration.xml.reload g17 fge6%
Whether to reload the XML configuration or not O96%U$W
是否加载xml配置(true,false) }U@(S>,%
9k;%R5(
struts.continuations.package wL[{6wL
The package containing actions that use Rife continuations m1Xc3=Y
含有actions的完整连续的package名称 -{ES 36
FD/=uIXH2
struts.custom.i18n.resources @ \*Zq
Location of additional localization properties files to load I lZ$Jd
加载附加的国际化属性文件(不包含.properties后缀) YI?tmqzt
6#kmV
struts.custom.properties "'~&D/7
Location of additional configuration properties files to load .* &F
加载附加的配置文件的位置 &M7AM"9
v)JS4KS
!q 9PO
struts.devMode RV),E:?
Whether Struts is in development mode or not xwojjiV
是否为struts开发模式 B^Hhrz!
xu.TS
struts.dispatcher.parametersWorkaround O% 8>siU
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @3`Pq2<
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `5SQ4
WHcw5_3#
struts.enable.DynamicMethodInvocation
v;(k7
Allows one to disable dynamic method invocation from the URL Bhk@0\a
允许动态方法调用 bMGXx>x
yH0vESgv
struts.freemarker.manager.classname S]?I7_
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5%"sv+iO
org.apache.struts2.views.freemarker.FreemarkerManager接口名 m8Rt>DY
$Y[C A.F
struts.i18n.encoding ~cSE 9ul
The encoding to use for localization messages )i<Qg.@MX
国际化信息内码 >[S\NAE>
$:D\yZ,
struts.i18n.reload oB+Ek~{z]
Whether the localization messages should automatically be reloaded \: R Akf<
是否国际化信息自动加载 |#zj~>7?
5=Il2
struts.locale 7`tJ/xtMy;
The default locale for the Struts application [JKLlR
默认的国际化地区信息 C);I[H4Yfw
@s0 mX3P
struts.mapper.class ^e--4B9|
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^bECX<,H
org.apache.struts2.dispatcher.mapper.ActionMapper接口 iN1_T
_Uhl4Mh
struts.multipart.maxSize 8;O /x
The maximize size of a multipart request (file upload) 3cc;BWvM
multipart请求信息的最大尺寸(文件上传用) !-4VGt&c,
o
@nsv&i
struts.multipart.parser 0(Hzh?t_
The org.apache.struts2.dispatcher.multipart. <sG}[:v
MultiPartRequest parser implementation for a multipart request (file upload) dst!VO:
M
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {dwlW`{
p21li}Iu
~7:Q+ 0,,
struts.multipart.saveDir Qp +M5_
The directory to use for storing uploaded files M=4`^.Ocm
设置存储上传文件的目录夹 uP.dCs9-
bycnh
struts.objectFactory Zou;o9Ww
The com.opensymphony.xwork2.ObjectFactory implementation class a~Yq0 d?`D
com.opensymphony.xwork2.ObjectFactory接口(spring) %v[KLMo'(
D&1(qi=x&
struts.objectFactory.spring.autoWire ]xPy-j6C
Whether Spring should autoWire or not ^GNL:D%6d
是否自动绑定Spring Ks-$([_F
zGa
V^X
struts.objectFactory.spring.useClassCache ,,;vG6^a
Whether Spring should use its class cache or not r-,u)zf"
是否spring应该使用自身的cache *9(E0"
3-BC4y/
struts.objectTypeDeterminer @4$la'XSx
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class LeYI<a@n@$
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :(;ho.zz
$Y8iT<nP
struts.serve.static.browserCache _gQ_ixu
If static content served by the Struts filter should set browser caching header properties or not ) .W0}
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 UL"
M?).5
!e}4>!L,(^
struts.serve.static o_&Qb^W
Whether the Struts filter should serve static content or not g#o9[su
是否struts过滤器应该提供静态内容 X?Or.
.\8LL,zT
struts.tag.altSyntax 3\K;y>NK
Whether to use the alterative syntax for the tags or not e8{!Kjiz
是否可以用替代的语法替代tags oE)xL%*
;#=y5Q4
struts.ui.templateDir '`j MNKn\
The directory containing UI templates OV`li#H
UI templates的目录夹 J:G{
W&7(
struts.ui.theme BzTzIo5
The default UI template theme @>`qfy?
默认的UI template主题 fYlqaO4[
dg&GMo
struts.url.http.port izR#XeBm
The HTTP port used by Struts URLs 63kZ#5g(Dw
设置http端口 (V0KmNCW`
t:n$9WB)
struts.url.https.port ,fvhP $n
The HTTPS port used by Struts URLs DuIgFp
设置https端口 omI"xx
gps.
struts.url.includeParams # ELYPp]6
The default includeParams method to generate Struts URLs %-
Ga^[
在url中产生 默认的includeParams _O&P!hI
Aa^w{D
0@&/W-VXg
struts.velocity.configfile *vT Abk$
The Velocity configuration file path tv5N
wM
velocity配置文件路径 |Rz}bsrZ
#I#_gjJkx
struts.velocity.contexts +1c[!;'
List of Velocity context names H=9{|%iS
velocity的context列表 8F/zrPG
|][PbN
D
3U*4E?g
struts.velocity.manager.classname 0O(V y y
org.apache.struts2.views.velocity.VelocityManager implementation class $F6GCM3Cx
org.apache.struts2.views.velocity.VelocityManager接口名 [d=BN ,?
|}@teN^J*U
struts.velocity.toolboxlocation bVr`a*EM
The location of the Velocity toolbox 3?TUt{3g
velocity工具盒的位置 JY%l1:}G3
struts.xslt.nocache t-Ble
Whether or not XSLT templates should not be cached t-SZBNb
是否XSLT模版应该被缓存 AvB21~t&]