struts2的struts.properties配置文件详解 gET& +M
!.+iA=K{
struts.action.extension %pc0a^iB
The URL extension to use to determine if the request is meant for a Struts action Xr:"8FT
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1ScfX\F=
J6hWcA6g
struts.configuration "h7Z(Y
The org.apache.struts2.config.Configuration implementation class u,PrEmy-
org.apache.struts2.config.Configuration接口名 6aM`qz)
3_fLafA
struts.configuration.files L
FHyiIO
A list of configuration files automatically loaded by Struts ;p BXAl
struts自动加载的一个配置文件列表 B6 x5E
y@~.b^?_u
struts.configuration.xml.reload KFAB
Whether to reload the XML configuration or not }.NR+:0
是否加载xml配置(true,false) oFoG+H"&7\
x4*8q/G=D
struts.continuations.package *7ap[YXZ\w
The package containing actions that use Rife continuations V3yO_Iqa
含有actions的完整连续的package名称 &m'O :ZS2
>7vSN<w~m
struts.custom.i18n.resources n-Dr/c4
Location of additional localization properties files to load YxS*im[%]
加载附加的国际化属性文件(不包含.properties后缀) /#
0@C[9
O~">-'f
struts.custom.properties /p<mD-:.M
Location of additional configuration properties files to load i2N*3X~
加载附加的配置文件的位置 MG8-1M
eP&K]#
bp_3ETK]P
struts.devMode Y91TF'
Whether Struts is in development mode or not aZ5qq+1x
是否为struts开发模式 ~ZG>n{Q
Kl(}s{YFn.
struts.dispatcher.parametersWorkaround A~*Wr+pv
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E IEwrC
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A
|NX"
|g8
]WFc
struts.enable.DynamicMethodInvocation LMsbTF@E
Allows one to disable dynamic method invocation from the URL Y
+HVn0~qz
允许动态方法调用 "N4c>2Q
8uyVx9C0
struts.freemarker.manager.classname "9LPq
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &Radpb2p6
org.apache.struts2.views.freemarker.FreemarkerManager接口名 MMhd -B1O&
#kLM=a/_NO
struts.i18n.encoding i;6\tK"!
The encoding to use for localization messages f,t[`0 va
国际化信息内码 Y8\Ms^rz
0AR4/5.
struts.i18n.reload 5mER&SX
Whether the localization messages should automatically be reloaded Cgq9~U !
是否国际化信息自动加载 tHJ1MDw'
1 68U-<
struts.locale -6+HA9zz@C
The default locale for the Struts application g=i|D(".
默认的国际化地区信息 "Hgn2o.;5
kwWO1=ikz@
struts.mapper.class &+&^Hc
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S:Yo9~
org.apache.struts2.dispatcher.mapper.ActionMapper接口 E+E5`-V
-[^wYr=
struts.multipart.maxSize t9 &O0tpe
The maximize size of a multipart request (file upload) `f6Qd2\
multipart请求信息的最大尺寸(文件上传用) |
@di<d@
yv$MQ~]
struts.multipart.parser 1/HPcCsHb
The org.apache.struts2.dispatcher.multipart. ;R2(Gb
MultiPartRequest parser implementation for a multipart request (file upload) I]I5!\\ &[
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6|_ S|N
TuaT-Z~U{
@M,KA {e
struts.multipart.saveDir ?$
YE
The directory to use for storing uploaded files S G43}
设置存储上传文件的目录夹 U$Ew,v<
^e&,<+qY
struts.objectFactory ef!I |.FW
The com.opensymphony.xwork2.ObjectFactory implementation class 0n(Q@O
com.opensymphony.xwork2.ObjectFactory接口(spring) K.X% Q,XD
k{@z87+&
struts.objectFactory.spring.autoWire d%]7:
Whether Spring should autoWire or not I"DV}jg6|
是否自动绑定Spring b~#rUOXb8?
-09<; U
struts.objectFactory.spring.useClassCache aQRZyE}
Whether Spring should use its class cache or not !knYD}Rxd
是否spring应该使用自身的cache sjaG%f&h
aP"i_!\.aa
struts.objectTypeDeterminer *YtITyDS3>
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Nc;7KMOIA
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nG8]c9\Q#
:+-s7'!4
struts.serve.static.browserCache FEdyh?$
If static content served by the Struts filter should set browser caching header properties or not d]@9kG
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $1?YVA7
E)Hp.
struts.serve.static kkd<CEz2IM
Whether the Struts filter should serve static content or not sZB$+~.:}
是否struts过滤器应该提供静态内容 34P?nW(
VF[]E0=u6
struts.tag.altSyntax nk-?$'i9q
Whether to use the alterative syntax for the tags or not bgEUG
是否可以用替代的语法替代tags pD &\Z~5T
WcqYpPv
struts.ui.templateDir ~Q6ufTGhpM
The directory containing UI templates Ex<-<tY
UI templates的目录夹 qbT].,?!U
.WtaU
struts.ui.theme /8GVu7
The default UI template theme _N*4 3O`
默认的UI template主题 OSq"q-Q
2Q Bq
struts.url.http.port )IhI~,0Nmj
The HTTP port used by Struts URLs v,2{Vr
设置http端口 Ymn0?$,D1=
Yoaz|7LS
struts.url.https.port hd^?svID
The HTTPS port used by Struts URLs .c BJA&/
设置https端口 lYJ]W[!
Ag?@fuk$J
struts.url.includeParams 2I#fwsb
The default includeParams method to generate Struts URLs A\ LTAp(I
在url中产生 默认的includeParams %q:V
Q+uYr-
IcaF4#
struts.velocity.configfile o"5R^a@
The Velocity configuration file path ph3[}><6
velocity配置文件路径 M6g!bK2l
thUs%F.5?
struts.velocity.contexts NShA-G N5
List of Velocity context names VxsW3*`
velocity的context列表 0p~:fm
`cf&4Hn
j@ =n|cq
struts.velocity.manager.classname c%v%U &
org.apache.struts2.views.velocity.VelocityManager implementation class lN^L#m*@
org.apache.struts2.views.velocity.VelocityManager接口名 -6 DfM,
P$w0.XZa
struts.velocity.toolboxlocation JQ0KXS Nr
The location of the Velocity toolbox <0Q`:'\.>
velocity工具盒的位置 z3>}(+
struts.xslt.nocache :%;K`w
Whether or not XSLT templates should not be cached e;[/ytz"d'
是否XSLT模版应该被缓存 )5e}Id