struts2的struts.properties配置文件详解 OE/O:F:1j
nV%1/e"5
struts.action.extension LEkO#F(
The URL extension to use to determine if the request is meant for a Struts action x,z +l-y
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m$:o+IH/
A@EeX4N
struts.configuration P/?`
The org.apache.struts2.config.Configuration implementation class Q': }'CI
org.apache.struts2.config.Configuration接口名 =x~HcsJ8!R
W9T,1h5x
struts.configuration.files R;f!s/^)
A list of configuration files automatically loaded by Struts w7]@QTC
struts自动加载的一个配置文件列表 +I7n6s\
,.uPlnB_
struts.configuration.xml.reload ucyz>TL0
Whether to reload the XML configuration or not },'2j
是否加载xml配置(true,false) l=ZhHON
tm(.a?p
struts.continuations.package 2hl'mRW
The package containing actions that use Rife continuations %9xz[Ng
含有actions的完整连续的package名称 jnX9] PkJ
QdL
;|3K9
struts.custom.i18n.resources DGTSk9iK(
Location of additional localization properties files to load o64&BpCK
加载附加的国际化属性文件(不包含.properties后缀) <Vr"
T"XP`gk
struts.custom.properties %^g BDlR^
Location of additional configuration properties files to load auqM>yx
加载附加的配置文件的位置 ,K8O<Mw8
"8aw=3A
)W~w72j-
struts.devMode M&
GA:`
Whether Struts is in development mode or not |Z<NM#1
是否为struts开发模式 CEE`nn
Tz1St{s\
struts.dispatcher.parametersWorkaround b/ h,qv
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !j6]k^ra
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) JGp~A#H&
[ottUS@
struts.enable.DynamicMethodInvocation C+$dm)M/q
Allows one to disable dynamic method invocation from the URL 0x'>}5`5
允许动态方法调用 V4}9f5FR
G:$wdT(u
struts.freemarker.manager.classname |r!G(an1x4
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DF/p{s1Y3
org.apache.struts2.views.freemarker.FreemarkerManager接口名 P}y}IR{6
NA>h$N
struts.i18n.encoding _) 2fXG!
The encoding to use for localization messages b&B<'Wb
国际化信息内码 0Np}O=>
SJ;u,XyWn
struts.i18n.reload I|,^a|\
Whether the localization messages should automatically be reloaded I2(5]85&]s
是否国际化信息自动加载 ~S15tZ $
.R;HH_
struts.locale F_U3+J >
The default locale for the Struts application /pZLt)=P
默认的国际化地区信息 B@` 87
yv^j~
struts.mapper.class J5}-5sV^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qi_[@da f?
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &i4*tE3],
/Ou`$2H87
struts.multipart.maxSize 7OG=LF*V-
The maximize size of a multipart request (file upload) e'mm4 2
multipart请求信息的最大尺寸(文件上传用) P
Ig)h-w?
v-J*PB.0p
struts.multipart.parser "]Wrir?l
The org.apache.struts2.dispatcher.multipart. q
[Rqy !,
MultiPartRequest parser implementation for a multipart request (file upload) uOc:^
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ehl){Dd^
fDhV
*LqW
N%%2!Z#
struts.multipart.saveDir O&Q_vY
The directory to use for storing uploaded files j1%o+#df
设置存储上传文件的目录夹 N|Xx#/
CTQF+Oe8O
struts.objectFactory "qjkwf)\
The com.opensymphony.xwork2.ObjectFactory implementation class $As;Tvw.
com.opensymphony.xwork2.ObjectFactory接口(spring) ,y>,?6:>
xV[X#.3
struts.objectFactory.spring.autoWire bO>q`%&
Whether Spring should autoWire or not 9&fS<Hk
是否自动绑定Spring 7T9m@
#g*U\y
struts.objectFactory.spring.useClassCache IL` X}=L_
Whether Spring should use its class cache or not Gf(hN|X.
是否spring应该使用自身的cache A94ZG:
x1</%y5ev
struts.objectTypeDeterminer ma[%,u`
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QE*O~Yj
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A(G%9'T
=B<>H$
struts.serve.static.browserCache A Vf'"~?
If static content served by the Struts filter should set browser caching header properties or not B/.+&AJw
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cih@:=Qy
S7]\tw_L)
struts.serve.static B,@geJ
Whether the Struts filter should serve static content or not /|V!2dQs"
是否struts过滤器应该提供静态内容 "S)2<tV
@TF^6)4f
struts.tag.altSyntax ?=,4{(/)
Whether to use the alterative syntax for the tags or not m}&cX Y
是否可以用替代的语法替代tags \^a(B{
i3#To}g5V
struts.ui.templateDir "&;8U.
The directory containing UI templates q)vdDdRe_
UI templates的目录夹 )a"rj5~-
]5| o8.
struts.ui.theme "zFv?ay
The default UI template theme Bu|Uz0Y
默认的UI template主题 YuufgPE*H
-(*<2Hy4
struts.url.http.port RO.GD$ 3n
The HTTP port used by Struts URLs 0kC}qru'
设置http端口 Mx?]7tI
?4>uGaU\
struts.url.https.port l{q$[/J~)
The HTTPS port used by Struts URLs fXfBDB
设置https端口 [O~'\Q
GjTj..G/
struts.url.includeParams $7M/rF;N5X
The default includeParams method to generate Struts URLs 8/q6vk><
在url中产生 默认的includeParams CUJP"u>8M
]j.=zQP?'
h M{&if
struts.velocity.configfile x1H?e8
The Velocity configuration file path CbPCj.MH
velocity配置文件路径 BC!n;IAe
X( Q*(_
struts.velocity.contexts cfZG3"
List of Velocity context names m
,B,dqT
velocity的context列表 QG{).|pm
$BIQ#T>qK
YA(_*h
struts.velocity.manager.classname $xx5+A%,
org.apache.struts2.views.velocity.VelocityManager implementation class oh%kuO T[
org.apache.struts2.views.velocity.VelocityManager接口名 si`{>e~`6P
x0t&hY