struts2的struts.properties配置文件详解 ;ND$4$
2+rT .GFc
struts.action.extension b^Z2Vf:k]
The URL extension to use to determine if the request is meant for a Struts action G;}WZy
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 v?OVhV
lG\uJxV
struts.configuration D,}bTwRb-
The org.apache.struts2.config.Configuration implementation class &liON1GLM
org.apache.struts2.config.Configuration接口名 q* p
B{`adq?pW
struts.configuration.files Q?i_Nl/|
A list of configuration files automatically loaded by Struts Qdq;C,}Ai.
struts自动加载的一个配置文件列表 |@iM(MM[?
OUi;f_*[r
struts.configuration.xml.reload ~tA ^[tK
Whether to reload the XML configuration or not FC] *^B
是否加载xml配置(true,false) %-blx)Pc
T0tX%_6`
struts.continuations.package Y2x|6{ #
The package containing actions that use Rife continuations Gu*y7I8
含有actions的完整连续的package名称 1`K-f
m)
Q;$k?G=l
struts.custom.i18n.resources xrPZy*Y,
Location of additional localization properties files to load e'.BTt58Y
加载附加的国际化属性文件(不包含.properties后缀) VGc*aQYa
b^$`2m-?@f
struts.custom.properties ZLT?G
Location of additional configuration properties files to load &T,|?0>~=J
加载附加的配置文件的位置 ZOEe -XW
E+lR&~mK=
<=">2WP{
struts.devMode EwzR4,r\M
Whether Struts is in development mode or not KVa{;zBwl
是否为struts开发模式 ,Q-,#C"
l&ueD&*4&
struts.dispatcher.parametersWorkaround PaI\y!f
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?>h
~"D#
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ChTq !W
'#f<wfn
struts.enable.DynamicMethodInvocation Iw`tbN
L[
Allows one to disable dynamic method invocation from the URL .D
4G;=Q
允许动态方法调用 x"Ky_P~
8M*+
|
struts.freemarker.manager.classname {s
mk<NL
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u2oS Ci
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zWC| Qe
e,xL~P{|
struts.i18n.encoding z< L2W",
The encoding to use for localization messages lV$JCNe
国际化信息内码 LS[o7 !T(
B-MS@<2
struts.i18n.reload ,a{85HLr]
Whether the localization messages should automatically be reloaded rkjnw@x\
是否国际化信息自动加载 5G`HJ6
hI:.Qp`r
struts.locale ']1n?K=A
The default locale for the Struts application idYB.]Y(
默认的国际化地区信息 ?:\/-y)Sp
F0<)8{s
struts.mapper.class ]%Eh"
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?}KRAtJ8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 =wh[D$n$~
e_=K0fFz
struts.multipart.maxSize @wR3L:@
The maximize size of a multipart request (file upload) *6/IO&y1a
multipart请求信息的最大尺寸(文件上传用) B>fZH\Y
y0d=
struts.multipart.parser eA4D.7HDK
The org.apache.struts2.dispatcher.multipart. efXnF*Z
MultiPartRequest parser implementation for a multipart request (file upload) j;3I` :
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N(7 XILC
_eKO:Y[e
pN[WYM?[
struts.multipart.saveDir vha9,5_
The directory to use for storing uploaded files xsH1)
设置存储上传文件的目录夹 M@cFcykK
|T|m5V'l
struts.objectFactory mXRkR.zu+
The com.opensymphony.xwork2.ObjectFactory implementation class 9lb?%UFe
com.opensymphony.xwork2.ObjectFactory接口(spring) 1,fR kQ
r^~+<"
struts.objectFactory.spring.autoWire Z=]SAK`
Whether Spring should autoWire or not XDY]LAV
是否自动绑定Spring CPOHqK`k
XQy`5iv
struts.objectFactory.spring.useClassCache zV&l^.
Whether Spring should use its class cache or not J~2SGXH)^?
是否spring应该使用自身的cache 9hA`I tS
hp~q!Q1=
struts.objectTypeDeterminer cU6*y!}9
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B]X8KzLu
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "#~>q(4^
w5%Yi{
struts.serve.static.browserCache "
@D
If static content served by the Struts filter should set browser caching header properties or not %zcA|SefP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e(t}$Q=
8FuxN2
struts.serve.static zS%XmS\
Whether the Struts filter should serve static content or not T?7u
[D[[
是否struts过滤器应该提供静态内容 *BsK6iVb
Hm2Y%
4i%
struts.tag.altSyntax 1[!:|=
Whether to use the alterative syntax for the tags or not g6,D Bkv2
是否可以用替代的语法替代tags |[.-pA^
8%9 C<+.R
struts.ui.templateDir /.SG? 5t4
The directory containing UI templates MKBDWLCB
UI templates的目录夹 1@|+l!rYF
j.q}OK
struts.ui.theme 3uuIISK
The default UI template theme m{Q
#f\<
默认的UI template主题 ;xwcK-A
$XF$ n#ua
struts.url.http.port 9nG^_.}|
The HTTP port used by Struts URLs 2o SM|
设置http端口 /7UvV60
iXMJ1\!q\|
struts.url.https.port L I<S
The HTTPS port used by Struts URLs 9+@h2"|N4*
设置https端口 aZmN(AJ8v
8<L{\$3HP|
struts.url.includeParams /JR+WmO
The default includeParams method to generate Struts URLs n\ "6ol}>E
在url中产生 默认的includeParams %66="1z0@
t /+;#-
cyl%p$
struts.velocity.configfile *{ rorir
The Velocity configuration file path +bznKy!
velocity配置文件路径 1=)M15
ZwUBeyxS=c
struts.velocity.contexts tpJA~!mG3
List of Velocity context names Q4u.v,sE
velocity的context列表 ?AyxRbk
d>p' A_
`s7pM
struts.velocity.manager.classname aw*]b.f
org.apache.struts2.views.velocity.VelocityManager implementation class >5FTBe[D
org.apache.struts2.views.velocity.VelocityManager接口名 MfL7|b)
~Gfytn9x.;
struts.velocity.toolboxlocation MltO.K!
The location of the Velocity toolbox #gC[L=01
velocity工具盒的位置 ?EFRf~7JP
struts.xslt.nocache R;OPY?EeW
Whether or not XSLT templates should not be cached e0`z~z]6&
是否XSLT模版应该被缓存 hY&Yp^"}]^