struts2的struts.properties配置文件详解 \D k^\-
n8D;6#P^
struts.action.extension O.f3 (e!
The URL extension to use to determine if the request is meant for a Struts action X?xm1|\
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 c@{^3V##T
aZ3 #g
struts.configuration 1ucUnNkcV
The org.apache.struts2.config.Configuration implementation class U1tPw`0h
org.apache.struts2.config.Configuration接口名 f5XcBW9E
WSccR
struts.configuration.files 1,D
^,
A list of configuration files automatically loaded by Struts aL6 5t\2
struts自动加载的一个配置文件列表 @9
tvN}
I{UB!0H
struts.configuration.xml.reload 7ib<Cb>K
Whether to reload the XML configuration or not #yOY&W:N
是否加载xml配置(true,false) znpZ0O\!
0`zq*OQ
struts.continuations.package `,=p\g|D
The package containing actions that use Rife continuations j~>
#{"C
含有actions的完整连续的package名称 qiJ;v1
j0NPd^
struts.custom.i18n.resources <[??\YOc
Location of additional localization properties files to load j?ubh{Izm
加载附加的国际化属性文件(不包含.properties后缀) 5]ob;tAm
e%7P$.
struts.custom.properties [<Puh
Location of additional configuration properties files to load #yxYL0CcA:
加载附加的配置文件的位置 hpKc_|un
:WTvP$R
S$:S*6M@"
struts.devMode iJ#oI@s
Whether Struts is in development mode or not Q%d[U4@
是否为struts开发模式 *#9kFz-
Ykq }9
struts.dispatcher.parametersWorkaround $)a5;--W
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,fLe%RP
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }i~ j"m
g{{SY5qDj
struts.enable.DynamicMethodInvocation U^S:2
Allows one to disable dynamic method invocation from the URL nrhpId
允许动态方法调用 4tKf
A Mfu|%ZL
struts.freemarker.manager.classname I#e*,#'S
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class QNBzc {XB
org.apache.struts2.views.freemarker.FreemarkerManager接口名 %?wE/LU>
EU~'n-
struts.i18n.encoding @&>
+`kgU-
The encoding to use for localization messages @3D%i#2o&[
国际化信息内码 zOp"n\
S(xA}0]
struts.i18n.reload i<![i5uAI
Whether the localization messages should automatically be reloaded ]c+'SJQ
是否国际化信息自动加载 >u[ln@ l
c(JO;=,@9
struts.locale 2M`Ni&v
The default locale for the Struts application n-WvIy
默认的国际化地区信息 nJw1Sl5
g}h0J%s
struts.mapper.class NE nP3A
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `buTP?]4.
org.apache.struts2.dispatcher.mapper.ActionMapper接口 }k~0R-m
pp _ddk
struts.multipart.maxSize L j\<qF~n
The maximize size of a multipart request (file upload) bsVOO9.4-
multipart请求信息的最大尺寸(文件上传用) "fwuvT
1
XRin~wz|S
struts.multipart.parser 5Ep
The org.apache.struts2.dispatcher.multipart. }DwXs` M7
MultiPartRequest parser implementation for a multipart request (file upload) fTcRqov
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fv
B2y8&W
93,ExgFt
:eO0{JN4T
struts.multipart.saveDir )A"7l7?.n)
The directory to use for storing uploaded files {[dqXG$v `
设置存储上传文件的目录夹 N9Vcp~;
%vzpp\t
struts.objectFactory =="SW"vNi
The com.opensymphony.xwork2.ObjectFactory implementation class 3+'w% I
com.opensymphony.xwork2.ObjectFactory接口(spring) U)6JJv
Ja2.1v|r.
struts.objectFactory.spring.autoWire 8'62[e|=7[
Whether Spring should autoWire or not F!'"mU<f
是否自动绑定Spring x;/3_"$9>\
d?qz7#kc
struts.objectFactory.spring.useClassCache &v88xs
Whether Spring should use its class cache or not Pr"ESd>Y
是否spring应该使用自身的cache +ZO*~.zZ
v%w]Q B
struts.objectTypeDeterminer fk_i~K
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .l!Z=n|
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^
T S\x/P
MvA_tRO
struts.serve.static.browserCache ~Fh(4'
If static content served by the Struts filter should set browser caching header properties or not yDrJn*
r^
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2
r)c?
3]Mx,u
struts.serve.static zjS<e
XLs[
Whether the Struts filter should serve static content or not EWi@1PAZK
是否struts过滤器应该提供静态内容 OduTg^R
jTJ[2WaS
struts.tag.altSyntax shRvwE[
Whether to use the alterative syntax for the tags or not r}w 9?s^rB
是否可以用替代的语法替代tags LGkKR{ep(
'aJ?Syn
struts.ui.templateDir ?T"crX
The directory containing UI templates t<=L&:<N
UI templates的目录夹 bE{`g]C5
1['A1,
struts.ui.theme c1f6RCu$b
The default UI template theme '_%Jw:4k
默认的UI template主题 1Ppzch7
K`sm
struts.url.http.port E7,\s
The HTTP port used by Struts URLs lPQH_+)Z"
设置http端口 X,b}d#\
go@}r<