struts2的struts.properties配置文件详解 G4K3qD#+H
=(as{,j
struts.action.extension 8|S}!P"
The URL extension to use to determine if the request is meant for a Struts action -]Q6Ril
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 RATW[(ZA
-*0U&]T
struts.configuration |s[k= /~"
The org.apache.struts2.config.Configuration implementation class UV)!zgP
org.apache.struts2.config.Configuration接口名 vt2A/9_Z%
j
!rQa^
struts.configuration.files ":Ll.=!
A list of configuration files automatically loaded by Struts kKNrCv@64d
struts自动加载的一个配置文件列表 0bI}
s`sr
y[~w2a&+
struts.configuration.xml.reload ty)~]!tA
Whether to reload the XML configuration or not ]n&Eb88
是否加载xml配置(true,false) d7!,
#s]` jdc
struts.continuations.package {$qLMx';
The package containing actions that use Rife continuations +m1y#|08
含有actions的完整连续的package名称 R(cM4T.a
MN. $a9m
struts.custom.i18n.resources .hytn`+9
Location of additional localization properties files to load F*/J`l
加载附加的国际化属性文件(不包含.properties后缀) =bl6:
#BwkbOgr
struts.custom.properties {-e|x&-
Location of additional configuration properties files to load 3q$"`w
加载附加的配置文件的位置 OOX[xv!b
!I[|\ 4j
]c$)0O\O
struts.devMode ;{K/W.R
Whether Struts is in development mode or not A@#D_[~
是否为struts开发模式 2VA mL7)
Jhr3[A
struts.dispatcher.parametersWorkaround ;=E!xfp5U
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ycSC'R
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) g/e2t=qP
]='zY3
struts.enable.DynamicMethodInvocation tFYod#
Allows one to disable dynamic method invocation from the URL Kv>P+I'|r
允许动态方法调用 @vkO(o
`@Tl7I\
struts.freemarker.manager.classname `l`)Cs;a
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ld:U~M-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ny)N
nkTu/)or
struts.i18n.encoding &!
MV!9$
The encoding to use for localization messages dhmZ3 ~cW>
国际化信息内码 -jQMh
72{Ce7J4
struts.i18n.reload
V/,F6
Whether the localization messages should automatically be reloaded N3QDPQ
是否国际化信息自动加载 *Bm
_
t7qY!S (
struts.locale 8UN7(J
The default locale for the Struts application I`FqZw
默认的国际化地区信息 QcG-/_,'}
}2~$"L,_
struts.mapper.class
*B1%-
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0GP\*Y8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 "jMSF@lr
qA5PIEvdq
struts.multipart.maxSize Ij9ezNZT=
The maximize size of a multipart request (file upload) %[H|3
multipart请求信息的最大尺寸(文件上传用) a\?-uJ+
4-veO3&.h
struts.multipart.parser b1ma(8{{{
The org.apache.struts2.dispatcher.multipart. 3"y,UtKGa
MultiPartRequest parser implementation for a multipart request (file upload) Ht=h9}x"g
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S[5e,Ew
`hE@S |4
W"*~1$vf
struts.multipart.saveDir tunjV1 ,]
The directory to use for storing uploaded files Z@{e\sZ)
设置存储上传文件的目录夹 P\2UIAPa\b
IIIP<nyc
struts.objectFactory =E10j.r
The com.opensymphony.xwork2.ObjectFactory implementation class {m7>9{`
com.opensymphony.xwork2.ObjectFactory接口(spring) "`&1"*
9s@$P7N5B
struts.objectFactory.spring.autoWire 78-D/WY/X
Whether Spring should autoWire or not 6y+}=)J
是否自动绑定Spring i"J`$u
&R;Cm]jt
struts.objectFactory.spring.useClassCache +_ZXzzcO<
Whether Spring should use its class cache or not r\DA&b
是否spring应该使用自身的cache s(MLBV5)w
3}9c0%}F
struts.objectTypeDeterminer 1O@
D
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6A,-?W'\
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 sbV
{RSl
l0-zu6iw
struts.serve.static.browserCache mel(C1b"j/
If static content served by the Struts filter should set browser caching header properties or not t2 0Es
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 40)Ti
4fa2_
struts.serve.static 95%QF;h
Whether the Struts filter should serve static content or not }{(J*T
是否struts过滤器应该提供静态内容 +JrbC/&
%1^E;n
struts.tag.altSyntax ;;? Zd
Whether to use the alterative syntax for the tags or not .*W_;F o
是否可以用替代的语法替代tags /Dk`vn2 eN
1<TB{}b
Z
struts.ui.templateDir /<-@8CC<
The directory containing UI templates @dx$&;w
UI templates的目录夹 C.Ty\@U
m6
@,J?X
struts.ui.theme [OK(
The default UI template theme J.^%VnrFO9
默认的UI template主题 _m2p>(N|
@^UnrKSd
struts.url.http.port l11+sqg
The HTTP port used by Struts URLs eUeOyC
设置http端口 N^;rLrm*
C6ry]R@
struts.url.https.port (f `zd.
The HTTPS port used by Struts URLs aq-R#q
设置https端口 ,3~[cE<4
?|,-Bft3
struts.url.includeParams ~![J~CkPS
The default includeParams method to generate Struts URLs FvVR \a
在url中产生 默认的includeParams 7;x}W-`iF
%MH!L2|
KKJ)BG?qZ
struts.velocity.configfile CE;J`;
The Velocity configuration file path CP"
velocity配置文件路径 vS'l@`Eg]
t`oH7)nut
struts.velocity.contexts j'M=+
List of Velocity context names (>a8h~Na
velocity的context列表 ywj'S7~A
\mGok<b4
.qAlPe L:
struts.velocity.manager.classname >IFqwh7b
org.apache.struts2.views.velocity.VelocityManager implementation class d:SLyFD$q
org.apache.struts2.views.velocity.VelocityManager接口名 h}SP`
c|KN@)A
struts.velocity.toolboxlocation VS
?n pH
The location of the Velocity toolbox z(g6$Y{
velocity工具盒的位置 ~H1ZQ[
struts.xslt.nocache F\IJim-Rh
Whether or not XSLT templates should not be cached hF;TX.Y6
是否XSLT模版应该被缓存 49d02AU%