struts2的struts.properties配置文件详解 [(vV45(E
m!(dk]
struts.action.extension q9\(<<f|
The URL extension to use to determine if the request is meant for a Struts action umpa!q};
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n"vO?8Sx
6aWNLJ@
struts.configuration V<U9Pj^?^
The org.apache.struts2.config.Configuration implementation class q AsTiT6r
org.apache.struts2.config.Configuration接口名 C?<[oQb#
f'tQLF[r<
struts.configuration.files Z}IuR|=
A list of configuration files automatically loaded by Struts +O8}twt@
struts自动加载的一个配置文件列表 <d[GGkY]=
M=1~BZQ(Z
struts.configuration.xml.reload E};1
H
Whether to reload the XML configuration or not gRw? <U^
是否加载xml配置(true,false) #wGOlW;R
[t*-s1cq
struts.continuations.package @# .a5
The package containing actions that use Rife continuations roIc1Ax:
含有actions的完整连续的package名称 a,:Nlr3
Sg(\+j=
struts.custom.i18n.resources _+Uf5,.5yU
Location of additional localization properties files to load {>Qs+]
加载附加的国际化属性文件(不包含.properties后缀) COxJ,v(
6rlM\k@!
struts.custom.properties b86c[2
Location of additional configuration properties files to load Ng*O/g`%L
加载附加的配置文件的位置 xo(>nFjo
WpkCFp
Hx9lQ8
struts.devMode @[5] ?8\o
Whether Struts is in development mode or not /1hcw|cfC
是否为struts开发模式 BtQqUk#L2
Lf;Uv[^c
struts.dispatcher.parametersWorkaround |9)y<}c5oM
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _1jeaV9@
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K~qKr<)
C2L=i3R
struts.enable.DynamicMethodInvocation JycC\s+%E
Allows one to disable dynamic method invocation from the URL DRRy5+,I
允许动态方法调用 }9Q<<a
&hWYw+yH\
struts.freemarker.manager.classname Q:]v4/MT
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }dEf |6_
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Slp_o\s$@
(cp$poo
struts.i18n.encoding QD
0p
The encoding to use for localization messages {y<E_y
x1
国际化信息内码 Qs 'dwc
~S0T+4$
struts.i18n.reload hgdr\
F
Whether the localization messages should automatically be reloaded ?~; q r
是否国际化信息自动加载 LEAU3doK;
LOk J
struts.locale 1R#1Fy%
The default locale for the Struts application wy""02j
默认的国际化地区信息 O5JG!bGE_F
v5L#H=P
struts.mapper.class -)e(Qt#ewl
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0}\8,U
org.apache.struts2.dispatcher.mapper.ActionMapper接口 k[1w] l8
{dvsZJj
struts.multipart.maxSize .Txwp?};
The maximize size of a multipart request (file upload) X-SR0x
multipart请求信息的最大尺寸(文件上传用) ,(kaC.Em
J^mm"2
struts.multipart.parser oho~?.F
The org.apache.struts2.dispatcher.multipart. WAVEwA`r
MultiPartRequest parser implementation for a multipart request (file upload) iv6bXV'N
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t k+t3+
.b<wNUzP
3e|,Z'4}4
struts.multipart.saveDir {InW%qSn_
The directory to use for storing uploaded files @Z@S;RWSU
设置存储上传文件的目录夹 #/WjKr n
/$UWTq/C7
struts.objectFactory l^v,X%{Iz
The com.opensymphony.xwork2.ObjectFactory implementation class lH>6;sE
com.opensymphony.xwork2.ObjectFactory接口(spring) 9YwS"~Q =w
=jvN8R*[
struts.objectFactory.spring.autoWire ^;cJjl'=
Whether Spring should autoWire or not (9+N_dLx~P
是否自动绑定Spring r6e!";w:U
ZRC7j?ui8`
struts.objectFactory.spring.useClassCache 4Gsq)i17j
Whether Spring should use its class cache or not S{~j5tQv^q
是否spring应该使用自身的cache lp5b&I_
,fyqa
struts.objectTypeDeterminer t=dZM}wj_\
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $# b
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,.,Y{CP
V V Aw y6
struts.serve.static.browserCache R)9FXz$).
If static content served by the Struts filter should set browser caching header properties or not >V@,K z1
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w%kaM=
%&4\'lE
struts.serve.static Xgo`XsA
Whether the Struts filter should serve static content or not }Q{4G
是否struts过滤器应该提供静态内容 C,5Erb/
4cAx9bqA
struts.tag.altSyntax jq+:&8!8(e
Whether to use the alterative syntax for the tags or not Z
DnAzAR
是否可以用替代的语法替代tags 5K|s]Y;
`,6^eLU
struts.ui.templateDir )h;zH,DA[3
The directory containing UI templates &0J/V>k
UI templates的目录夹 6X$iTJ[\x
fU4{4M+9"
struts.ui.theme '59l.
The default UI template theme liVDBbS_A?
默认的UI template主题 3$kElq[
bt?)ryu
struts.url.http.port ~;nW+S$o
The HTTP port used by Struts URLs [,mcvO;
设置http端口 Ht%O9v
\MtdT[*
struts.url.https.port ]w9syz8X
The HTTPS port used by Struts URLs s_`y"'^
设置https端口 KnYHjJa
z';h5GNd>z
struts.url.includeParams $dHD
The default includeParams method to generate Struts URLs v5`Odbc=w
在url中产生 默认的includeParams Tq5F'@e
Q9
RCN<!
c]:@y"W5$
struts.velocity.configfile IeJ@G)
The Velocity configuration file path "C [uz&
velocity配置文件路径 ]\:l><
PX,fg5s\b
struts.velocity.contexts "yxBD
7
List of Velocity context names e
irRAU
velocity的context列表 n/GJ&qLi:g
%Lgfi
vX}mwK8
struts.velocity.manager.classname }i2dXC/
org.apache.struts2.views.velocity.VelocityManager implementation class 7=]Y7"XCf
org.apache.struts2.views.velocity.VelocityManager接口名 ^ px)W,O
TWTRMc;z+
struts.velocity.toolboxlocation R$VeD1n@
The location of the Velocity toolbox }F
(lffb
velocity工具盒的位置 +PkN~m`
struts.xslt.nocache .(zZTyZr
Whether or not XSLT templates should not be cached 7)au#K6
是否XSLT模版应该被缓存 Cl3hpqv1I