struts2的struts.properties配置文件详解 Yyl2J#$!
:SSlUl4sU$
struts.action.extension ZiDmx-X
The URL extension to use to determine if the request is meant for a Struts action ;(3fr0cr:
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 LQYT/
_nRY5YnL4P
struts.configuration O'JH=
'
The org.apache.struts2.config.Configuration implementation class 8<u_ wt@
org.apache.struts2.config.Configuration接口名 ~S Js2-2
di6A.N5A
struts.configuration.files BzH7E[R49
A list of configuration files automatically loaded by Struts 9s)YPlDz
struts自动加载的一个配置文件列表 .a:Oj3=0
B\bIMjXV
struts.configuration.xml.reload {:
EQ
Whether to reload the XML configuration or not 9;;1 "^4/
是否加载xml配置(true,false) Yg%V
6YT*=\KT
struts.continuations.package &G55<tRE
The package containing actions that use Rife continuations w&;\}IS
含有actions的完整连续的package名称 Ov%9S/d
/B!"\0G/,
struts.custom.i18n.resources ja2LQe@Q
Location of additional localization properties files to load
K)GC&%_$O
加载附加的国际化属性文件(不包含.properties后缀) Cg
85
o
<LA2q`T
struts.custom.properties ihH!"HH+
Location of additional configuration properties files to load b]6;:Q!d
加载附加的配置文件的位置 />\.zuAr&
J.":oD
6"
3!9JC
struts.devMode ^~MHxF5d
Whether Struts is in development mode or not (FMG W
(
是否为struts开发模式 /S9Mu
)1Y
-'k<2 "z
struts.dispatcher.parametersWorkaround nngL,-v#F
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s@o"V >t
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C%#C|X193
Xu HJy
struts.enable.DynamicMethodInvocation n*D)RiW
Allows one to disable dynamic method invocation from the URL Uk ?V7?&
允许动态方法调用 oTOe(5N8a
}W<]fK
struts.freemarker.manager.classname sr#,S(p
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &nPv%P,e
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !0`ZK-nA6
NLb/Bja
struts.i18n.encoding D'O[0?N"g
The encoding to use for localization messages z[qM2
国际化信息内码 hFa\x5I5
@]*z!>1
struts.i18n.reload 0e8)*2S
Whether the localization messages should automatically be reloaded m{Q{ qJ5>
是否国际化信息自动加载 6?}8z
q[
R|NmkqTK~(
struts.locale bz H5Lc {%
The default locale for the Struts application 2~h)'n7Mw
默认的国际化地区信息 Q*$x!q
TQ@*eoJj
struts.mapper.class lKIHBi
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9
J5Z'd_
org.apache.struts2.dispatcher.mapper.ActionMapper接口 f{ S)wE>;
a((5_8SX5
struts.multipart.maxSize 2T?t[;-
The maximize size of a multipart request (file upload) u[ 2R>=
multipart请求信息的最大尺寸(文件上传用) (U/[i.r5Cj
!^q<)!9<EO
struts.multipart.parser mMT7`r;l
The org.apache.struts2.dispatcher.multipart. -lSm:O@'
MultiPartRequest parser implementation for a multipart request (file upload) 9'//_ A,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ZWf{!L,@Z
.(9IAAwKn
e%'9oAz
struts.multipart.saveDir f<|8NQ2y.
The directory to use for storing uploaded files drtQEc>qT
设置存储上传文件的目录夹 H3OH
Kt}dTpVFr
struts.objectFactory pJ_Z[}d)c
The com.opensymphony.xwork2.ObjectFactory implementation class 4B]8Mp~\aL
com.opensymphony.xwork2.ObjectFactory接口(spring) #C%<g:F8
o/)\Q>IY
struts.objectFactory.spring.autoWire m/Yi;>I(
Whether Spring should autoWire or not 'zT/x`V
是否自动绑定Spring GUat~[lUrj
|Z 3POD"9
struts.objectFactory.spring.useClassCache aeUm,'Y$
Whether Spring should use its class cache or not JpS:}yyJ>N
是否spring应该使用自身的cache Pn 7oQA\
d:sUh
struts.objectTypeDeterminer Gq-U}r
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t4s}w$4
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C?x
uc7np]Z
struts.serve.static.browserCache 5W<BEcV\
If static content served by the Struts filter should set browser caching header properties or not zKV{JUpG
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =t)eT0
5Y9 j/wA
struts.serve.static !2&h=;i~V
Whether the Struts filter should serve static content or not
k7y!!AV
是否struts过滤器应该提供静态内容 s?%1/&.~
YVW!u6W'[6
struts.tag.altSyntax T/S-}|fhQ
Whether to use the alterative syntax for the tags or not PI0/=kS
是否可以用替代的语法替代tags J_P2% b=C
m@HU;J\I
struts.ui.templateDir XTW/3pB
The directory containing UI templates y'pG'"U]_
UI templates的目录夹 U?|s/U
(Z `Y
struts.ui.theme N;[w`d'#
The default UI template theme +}9%Duim
默认的UI template主题 yxA0#6so
pm )A*][s
struts.url.http.port yDd&*;9%Qg
The HTTP port used by Struts URLs Pi*,&D>{7
设置http端口 b: %>TPT
/h2`?~k+
struts.url.https.port O4$:
xjs
The HTTPS port used by Struts URLs u%*;gu"2
设置https端口 'inWV* P*g
I/^Lr_\
struts.url.includeParams ?'_iqg3
The default includeParams method to generate Struts URLs NpRC3^
在url中产生 默认的includeParams L7Skn-*tnA
mbS
&>
UhEJznfi
struts.velocity.configfile #lVVSrF,-
The Velocity configuration file path OH=Ffy F,
velocity配置文件路径 PwDQ<
qVM]$V#e
struts.velocity.contexts $<33E e:a
List of Velocity context names Uc9Uj
velocity的context列表 6K<vyr40
j@9nX4Z
#),QWTl3
struts.velocity.manager.classname oN _%oc
org.apache.struts2.views.velocity.VelocityManager implementation class >/'WU79TYE
org.apache.struts2.views.velocity.VelocityManager接口名 `C!Pe84(
@69q// #B
struts.velocity.toolboxlocation T@Q.m.iV4
The location of the Velocity toolbox $V\xN(Ed
velocity工具盒的位置 BwBv'p+n
struts.xslt.nocache t<: XY
Whether or not XSLT templates should not be cached T_gW't>
是否XSLT模版应该被缓存 ruE.0V I@