struts2的struts.properties配置文件详解 K5x&:z
H'uRgBjWJ
struts.action.extension -9"hJ4
The URL extension to use to determine if the request is meant for a Struts action f1Ruaz-
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &~
g||rq
Or&TGwo I
struts.configuration +p =n-
The org.apache.struts2.config.Configuration implementation class tzv&E0|d
org.apache.struts2.config.Configuration接口名 I;`)1
clz6;P
struts.configuration.files 3@e#E4+ff
A list of configuration files automatically loaded by Struts S#{e@ C
struts自动加载的一个配置文件列表 Pms"YhyZ7
]}/LNO*L"
struts.configuration.xml.reload "Vp+e%cqG
Whether to reload the XML configuration or not MD ~03
是否加载xml配置(true,false)
=@b/Gl
Qcu1&t\ C
struts.continuations.package Pj_2y)^?
The package containing actions that use Rife continuations rlYAy5&
含有actions的完整连续的package名称 ![os5H.b#q
b_*Y5"(*
struts.custom.i18n.resources x|l[fdm5
Location of additional localization properties files to load ^JF6L`Tp
加载附加的国际化属性文件(不包含.properties后缀) '+BcPB?E
yG'5u p
struts.custom.properties q4$zsw
Location of additional configuration properties files to load |yiM7U,i
加载附加的配置文件的位置 /N+*=LIK
I
w">XI)*z
}6}Gj8Nb
struts.devMode v\ggFrG]
Whether Struts is in development mode or not ppIMaP
是否为struts开发模式 ']1j Mn
@giipF2$
struts.dispatcher.parametersWorkaround uJ,>Y#
?
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $trvNbco
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {:c*-+?
> Zo_-,
struts.enable.DynamicMethodInvocation 92+LY]jS
Allows one to disable dynamic method invocation from the URL 9RwD_`D(MN
允许动态方法调用 po+>83/!oq
)r-t$ L
struts.freemarker.manager.classname jdV E/5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dK,j|
org.apache.struts2.views.freemarker.FreemarkerManager接口名 EY;C5P4
]+Yd#<j(u
struts.i18n.encoding Be"D0=<
The encoding to use for localization messages qczGv2%!
国际化信息内码 NK]X ="`
/\_`Pkd3m
struts.i18n.reload ,tv
P"@d
Whether the localization messages should automatically be reloaded a5C% OI<
是否国际化信息自动加载 j K?GB
.T?9-`I9
struts.locale 8r(S=dA
The default locale for the Struts application fdGls`H
默认的国际化地区信息 61>@-55k9
eAS~>|N#x
struts.mapper.class {tMpI\>S
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }5-^:}gL
org.apache.struts2.dispatcher.mapper.ActionMapper接口 5an#,vCn{
|=2E?&%?
struts.multipart.maxSize lDd+.44V:
The maximize size of a multipart request (file upload) bIt%KG{PY6
multipart请求信息的最大尺寸(文件上传用) @V:4tG.<sw
j@$p(P$
struts.multipart.parser iZ2|/hnw
The org.apache.struts2.dispatcher.multipart. 74hGkf^S
MultiPartRequest parser implementation for a multipart request (file upload) UbKdB
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .t|vwx
Ol3$!x9
) D:M_T2
struts.multipart.saveDir J(F]?H
The directory to use for storing uploaded files ORk8^0\
设置存储上传文件的目录夹 lx,^Y647
.w2X24Mmb
struts.objectFactory T<kyxbjR
The com.opensymphony.xwork2.ObjectFactory implementation class ycB>gd
com.opensymphony.xwork2.ObjectFactory接口(spring) FC+K2Yf1=0
Cp(,+dD
struts.objectFactory.spring.autoWire Kg^L
4Q
Whether Spring should autoWire or not g-j`Ex%
是否自动绑定Spring J&4LyIpQ
;hU56lfZ)X
struts.objectFactory.spring.useClassCache "MZj}}l
Whether Spring should use its class cache or not zbn0)JO
是否spring应该使用自身的cache "mr;|$Y
6O2 r5F$T
struts.objectTypeDeterminer Ld6j;ZJ';
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SOQm>\U'i
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3Qmok@4e)
EdxTaR
struts.serve.static.browserCache H~x,\|l#
If static content served by the Struts filter should set browser caching header properties or not w
A<JJ_R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rr+Y::E
>J>4g;Y
struts.serve.static +o})Cs`|=A
Whether the Struts filter should serve static content or not A;Rr#q<
是否struts过滤器应该提供静态内容 P<yd
r2H_)Oi
struts.tag.altSyntax )TV4OT#
Whether to use the alterative syntax for the tags or not 4h wUH
是否可以用替代的语法替代tags v`8dRVN
3l"7 $B
struts.ui.templateDir fwB+f`w`
The directory containing UI templates \AV6;;}&
UI templates的目录夹 bJ8G5QU
NltEX14Af
struts.ui.theme $$+6=r}
The default UI template theme tj@IrwC^e"
默认的UI template主题 eED Fm
!Tuc#yFw
struts.url.http.port diN5*CF'~
The HTTP port used by Struts URLs QU0K'4Yx5j
设置http端口 o =)hUr
%Z?2.)
struts.url.https.port N9IBw',
The HTTPS port used by Struts URLs .r!:` 6
设置https端口 D/pc)3Ofe
v7"' ^sZ?
struts.url.includeParams IKSe X
The default includeParams method to generate Struts URLs Ht#5;c2/
在url中产生 默认的includeParams xFcJyjo^z
rxtp?|v9
,&$=2<Dx
struts.velocity.configfile c0M=T
The Velocity configuration file path w7}m
T3p,)
velocity配置文件路径 ta\AiHm
d;UP|c>2
struts.velocity.contexts z$OKn#%T
List of Velocity context names y\7 -!
velocity的context列表 *k$&U3=
7,U^v}$
Y(QLlJ*)/
struts.velocity.manager.classname 6rlafISvO
org.apache.struts2.views.velocity.VelocityManager implementation class ?.66B9Lld
org.apache.struts2.views.velocity.VelocityManager接口名 ?u`+?"'H
0 =#)-n
struts.velocity.toolboxlocation $w{!}U 2+-
The location of the Velocity toolbox u2crL5^z2)
velocity工具盒的位置 E _d^&{j
struts.xslt.nocache 8$</HNu,
Whether or not XSLT templates should not be cached w~EBm=v_>
是否XSLT模版应该被缓存 T0L h"_X3