struts2的struts.properties配置文件详解 V\P
.uOI
(AswV7aGe
struts.action.extension VdE$ig@
The URL extension to use to determine if the request is meant for a Struts action M2piJ'T4u
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W&p f%?
!+Zso&
struts.configuration mt]50}eK
The org.apache.struts2.config.Configuration implementation class $&KiN82,
org.apache.struts2.config.Configuration接口名 t6! B
?V$@2vBVX4
struts.configuration.files 2UrE>_
A list of configuration files automatically loaded by Struts >e^8fpgSo
struts自动加载的一个配置文件列表 ?a{>QyL
=g<Y[Fi2
struts.configuration.xml.reload %+ur41HM
Whether to reload the XML configuration or not f@H>by
N
是否加载xml配置(true,false) M6:$ 0(r
CooOBk
struts.continuations.package F0tx.]uS
The package containing actions that use Rife continuations a~A"uLBR
含有actions的完整连续的package名称 g<s;uRA4O9
TykY> cl
struts.custom.i18n.resources KYC<*1k
Location of additional localization properties files to load n~'cKy)m
加载附加的国际化属性文件(不包含.properties后缀) TF-a1z
~NBlJULS
struts.custom.properties gM_MK8py
Location of additional configuration properties files to load Pw/$
}Q9X
加载附加的配置文件的位置 gbu@&
.(X!*J]G
2PQY+[jx
struts.devMode =e|
Whether Struts is in development mode or not %40+si3c
是否为struts开发模式 (&xIBF_6
~vstuRRST
struts.dispatcher.parametersWorkaround 31{)~8
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C)|#z/"
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KJCi4O&
?jHu,
struts.enable.DynamicMethodInvocation y0\ = F
Allows one to disable dynamic method invocation from the URL >IEc4
允许动态方法调用 i$dF0.}Q
TM0DR'.
struts.freemarker.manager.classname KK41I8Mw
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R*>EbOuI
org.apache.struts2.views.freemarker.FreemarkerManager接口名 0&2eiMKG?n
Q)ZbnR2Z8
struts.i18n.encoding %lqrq<Xn
The encoding to use for localization messages c2Up<#t
国际化信息内码 U'Fc\M5l/l
&OP =O*B
struts.i18n.reload HVaKy+RU
Whether the localization messages should automatically be reloaded 6d%)MEM
是否国际化信息自动加载 WkSv@Y,
eN-lz_..7
struts.locale S\W&{+3
The default locale for the Struts application 4KZ)`KPE
默认的国际化地区信息 GdtR /1
f$]ttU U
struts.mapper.class ;7bY>zc(w
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2hFj+Ay
org.apache.struts2.dispatcher.mapper.ActionMapper接口 P(Z\y^S
.tt= \R
struts.multipart.maxSize p5 )+R/
The maximize size of a multipart request (file upload) D[bPm:\0M
multipart请求信息的最大尺寸(文件上传用) GL8 N!,
vH/Y]Am
struts.multipart.parser Wm>AR? b
The org.apache.struts2.dispatcher.multipart. 6I~{~YvB"
MultiPartRequest parser implementation for a multipart request (file upload) *&vi3#ur
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) hsHtLH+@
n8 e4`-cY
.9KW|(uW
struts.multipart.saveDir Nj|~3
*KO
The directory to use for storing uploaded files
z+F:_
设置存储上传文件的目录夹 O:Ob{k
bZi;jl
struts.objectFactory `)_11ywZ
The com.opensymphony.xwork2.ObjectFactory implementation class iYl$25k/1
com.opensymphony.xwork2.ObjectFactory接口(spring) @d_;p<\l
V9<CeTl'
struts.objectFactory.spring.autoWire (]*!`(_b
Whether Spring should autoWire or not \X0wr%I
是否自动绑定Spring H\ONv=}7I
2-.%WhE/
struts.objectFactory.spring.useClassCache ?KtvXTy{m
Whether Spring should use its class cache or not ts~$'^K[-
是否spring应该使用自身的cache ~AG."<}
8WRxM%gsH
struts.objectTypeDeterminer "Go)t+-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .Wq"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |q*s)8
h2#S ?
struts.serve.static.browserCache ?jRyw(Q
If static content served by the Struts filter should set browser caching header properties or not 8GFA}_(^R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I0]"o#LjT
}c-tvK1g
struts.serve.static ?L~Z]+-
Whether the Struts filter should serve static content or not 1q(o3%
是否struts过滤器应该提供静态内容 y6!Zt}m
|?
l6S
struts.tag.altSyntax RXU#.=xvy
Whether to use the alterative syntax for the tags or not )./.rtP|4
是否可以用替代的语法替代tags BdZO$ALXL
HOY9{>E}z
struts.ui.templateDir JdW:%,sv
The directory containing UI templates (Jb[_d*
UI templates的目录夹 yNu%D$6u7
9X PQ1LSx
struts.ui.theme %Jc>joU
The default UI template theme x#s=eeP1
默认的UI template主题 VIjsz42C
58 Rmq/6s
struts.url.http.port W9ewj:4\0
The HTTP port used by Struts URLs sCF7K=a
设置http端口 xr\wOQ*`
9p5{,9 .3*
struts.url.https.port
zOnQ656
The HTTPS port used by Struts URLs OY/sCx+c
设置https端口 Y8yRQz u
,Cckp! 6
struts.url.includeParams ]Ak@!&hyak
The default includeParams method to generate Struts URLs y~N,=5>j
在url中产生 默认的includeParams K?o} B
4x
JOPu
4SqZV
struts.velocity.configfile e!(0y)*
The Velocity configuration file path fC4D#
velocity配置文件路径 @|^2 +K/
\Ow-o0
struts.velocity.contexts bUp
,vc*
List of Velocity context names ?>p<!:E!r
velocity的context列表 2W=(
{e)$
6:Nz=sw8
Sh_ =dzM
struts.velocity.manager.classname ?"no~(EB
org.apache.struts2.views.velocity.VelocityManager implementation class $*{$90Q
org.apache.struts2.views.velocity.VelocityManager接口名 i-EFq@xl
c=T^)~$$
struts.velocity.toolboxlocation o(/(`/
The location of the Velocity toolbox 3e g<)
velocity工具盒的位置 $I7/FZP
struts.xslt.nocache 3T3p[q4
Whether or not XSLT templates should not be cached YJ`[$0mam
是否XSLT模版应该被缓存 ( |1 $zF+