struts2的struts.properties配置文件详解 KWIH5* AM
.-t#wXEi
struts.action.extension \"B oTi'2!
The URL extension to use to determine if the request is meant for a Struts action 7)sEW#d!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K:&FWl.
.ky((
struts.configuration |FS,Av
The org.apache.struts2.config.Configuration implementation class wb^Yg9
org.apache.struts2.config.Configuration接口名 ^Nl)ocHv!
*het_;)+{
struts.configuration.files 7g1"s1~or
A list of configuration files automatically loaded by Struts G+?@4?`z
struts自动加载的一个配置文件列表 &!uw;|%
|UvM[A|+
struts.configuration.xml.reload 37'@,*m`
Whether to reload the XML configuration or not 6#P\DT
是否加载xml配置(true,false) N8.K[ m
e<s56<3j
struts.continuations.package 1'tagv?
The package containing actions that use Rife continuations +-~hl
含有actions的完整连续的package名称 p?S:J`q
(u`[I4z`
struts.custom.i18n.resources `C 'WSr
Location of additional localization properties files to load )%'Lm
加载附加的国际化属性文件(不包含.properties后缀) ~qe9U 0
ncS.~F
struts.custom.properties b(wzn`Z%Et
Location of additional configuration properties files to load Z(LDAZG
加载附加的配置文件的位置 VP^Yph 8R
"4N%I
kgfOH.P
struts.devMode W!B4~L
Whether Struts is in development mode or not Z}_{@|
是否为struts开发模式 w5uOi}T\
b'Cy!d r
struts.dispatcher.parametersWorkaround ')_Gm{A#p
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $#ks`$vM
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +tFm DDx=
JF7n|o-`?
struts.enable.DynamicMethodInvocation ;!U`GN,tH
Allows one to disable dynamic method invocation from the URL z^=.05jB
允许动态方法调用 O H~X~n-Z
udxLHs
struts.freemarker.manager.classname J{8_4s!Xt>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0&$+ CWSM
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4?YhqJ
P~nI6/r1
struts.i18n.encoding ]eA<
The encoding to use for localization messages (XYYbP
国际化信息内码 @a,X{0
8`E9a
struts.i18n.reload nnLE dJ}n
Whether the localization messages should automatically be reloaded Am3^3>
是否国际化信息自动加载 Iw(2D(se
#W`>vd}
struts.locale !Irmc*;QE
The default locale for the Struts application ]UyIp`nV;
默认的国际化地区信息 Qo+_:N
l/[0N@r~
struts.mapper.class %jEdgD%xV
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >xu}eWSz
org.apache.struts2.dispatcher.mapper.ActionMapper接口 QW :-q(s
0JTDJZOz@#
struts.multipart.maxSize "(j.:jayd
The maximize size of a multipart request (file upload) h_6QVab@
multipart请求信息的最大尺寸(文件上传用) #iD5&
klo\
.QX|:]|n
struts.multipart.parser =&?}qa(P
The org.apache.struts2.dispatcher.multipart. JzH\_,,
MultiPartRequest parser implementation for a multipart request (file upload) 0KqG J:Ru
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) '/+l\.z"&
D&_Ir>"\
!FOPFPn
struts.multipart.saveDir OD5c,IkWB
The directory to use for storing uploaded files z:f[<`,GT
设置存储上传文件的目录夹 tK)E*!
h-`Jd>u"
struts.objectFactory w6>'n
}
The com.opensymphony.xwork2.ObjectFactory implementation class X}b%gblx
com.opensymphony.xwork2.ObjectFactory接口(spring) Q`ERI5b6
v
P8.{$
struts.objectFactory.spring.autoWire e|Iylv[3
Whether Spring should autoWire or not `-!t 8BH
是否自动绑定Spring F`,XB[}2
w^N xR,
struts.objectFactory.spring.useClassCache l
+RT>jAmK
Whether Spring should use its class cache or not lVY`^pw?
是否spring应该使用自身的cache !fF1tW
[G:wPp.y
struts.objectTypeDeterminer Y%!3/3T
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H&\IgD
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :NJb<%$
*IWO ,!
struts.serve.static.browserCache ]5IG00`
If static content served by the Struts filter should set browser caching header properties or not tU7,nE>p
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Rb=T'x'
VD+TJ` r
struts.serve.static |GgFdn`>
Whether the Struts filter should serve static content or not \(Z'@5vC
是否struts过滤器应该提供静态内容 g/ONr,l`-
xsS/)R?
struts.tag.altSyntax *njdqr2c~
Whether to use the alterative syntax for the tags or not /NFv?~</k
是否可以用替代的语法替代tags W 0^.Dx
?2hoY
struts.ui.templateDir J$6tCFD
The directory containing UI templates [Lh<k+
UI templates的目录夹 @dE|UZ=(
cA%70Y:AV
struts.ui.theme FyYD7E
The default UI template theme #W[/N|~wx
默认的UI template主题 cE[B
(e
2ILMf?}
struts.url.http.port vum6O3
The HTTP port used by Struts URLs Q#NXJvI
设置http端口 B0I(/ 7
[*zB
vj}G
struts.url.https.port HFYN(nz}[
The HTTPS port used by Struts URLs qPsf`nI7
设置https端口 i/;Ql, gm
~PYMtg=i
struts.url.includeParams 5D0O.v
The default includeParams method to generate Struts URLs PY=(|2tb4
在url中产生 默认的includeParams |@KW~YlE
ZrJAfd \5c
`.Z MwA
struts.velocity.configfile BeZr5I"`}
The Velocity configuration file path mk?&`_X1
velocity配置文件路径 x5\C MWW
)G6{JL-I
struts.velocity.contexts UD1R_bL}
List of Velocity context names bqpy@WiI S
velocity的context列表 x zmg'Br
5Mm><"0
*( ~7H6
struts.velocity.manager.classname .G#wXsJj
org.apache.struts2.views.velocity.VelocityManager implementation class "PH}\Dl=
org.apache.struts2.views.velocity.VelocityManager接口名 O#}T.5t
8Wx>,$k
struts.velocity.toolboxlocation En$-,8\%
The location of the Velocity toolbox Wk w.z
velocity工具盒的位置 n'a=@/
struts.xslt.nocache igFz~
Whether or not XSLT templates should not be cached !-1UJqO
是否XSLT模版应该被缓存 &rs+x<