struts2的struts.properties配置文件详解 &h')snp:#
RYy_Ppn96f
struts.action.extension O*X]oX
The URL extension to use to determine if the request is meant for a Struts action MoavA
3`
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ljQru ^(u
KP%A0
struts.configuration ~CQsv`
The org.apache.struts2.config.Configuration implementation class /n&w|b%
org.apache.struts2.config.Configuration接口名 G
D$o|l]\
up#W"`"
struts.configuration.files DFcgUEq
A list of configuration files automatically loaded by Struts 8.bdN]zn
struts自动加载的一个配置文件列表 X6kCYTJYF
MQ7N8 @!t
struts.configuration.xml.reload ,eW K~ pa
Whether to reload the XML configuration or not JN,4#,
是否加载xml配置(true,false) ^cn%]X#.
Il `35~a
struts.continuations.package .]JGCTB3
The package containing actions that use Rife continuations tDJts OL
含有actions的完整连续的package名称 TY"8.vd
K)QMxn
struts.custom.i18n.resources 0NL~2Qf_4
Location of additional localization properties files to load C|*U)#3:F
加载附加的国际化属性文件(不包含.properties后缀) s#hIzt
&
=)HPzC
struts.custom.properties ]QlgVw,
Location of additional configuration properties files to load hxZ5EKBy
加载附加的配置文件的位置 B<%cqz@
0Q`Dp;a5&
UP' ~D]J
struts.devMode .nl!KzO6g
Whether Struts is in development mode or not [3"k :
是否为struts开发模式
ltK\)L
>k }ea5+
struts.dispatcher.parametersWorkaround rO[ cm}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9J+p.N
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) fh,kbn==r?
]?rVram;z
struts.enable.DynamicMethodInvocation i&= I5$
Allows one to disable dynamic method invocation from the URL > mk>VM
允许动态方法调用 I&vD >a5#
%Ya%R@b}
struts.freemarker.manager.classname W|'7)ph
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @G,pM: t
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^hiIMqY_{`
D~P3~^
struts.i18n.encoding hg4 d]R,
The encoding to use for localization messages 1cq"H/N
国际化信息内码 `1
A,sXfa
>}?jO B
struts.i18n.reload C.4r`F$p
Whether the localization messages should automatically be reloaded rZ'&'#Q
是否国际化信息自动加载 F#-mseKhc
",O |uL
struts.locale >8M=REn4
The default locale for the Struts application [ICFPY6
默认的国际化地区信息 S#Q0aGj
VW&EdrR,S
struts.mapper.class )cP&c=
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class JPO'1D)
org.apache.struts2.dispatcher.mapper.ActionMapper接口 .Q!_.LX
M$YU_RPl+
struts.multipart.maxSize Zaime
The maximize size of a multipart request (file upload) H?oBax:
multipart请求信息的最大尺寸(文件上传用) B!+rO~
ad)jw:n
struts.multipart.parser )SU\s+"M
The org.apache.struts2.dispatcher.multipart. hQ7-m.UZw
MultiPartRequest parser implementation for a multipart request (file upload) fVJlA
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4|U$ON?x
![3 /!
R.x^
struts.multipart.saveDir vG'6?%38
The directory to use for storing uploaded files
3-~*
设置存储上传文件的目录夹 _nwsIjsW
u1 Z;n
struts.objectFactory kx{LY`pY
The com.opensymphony.xwork2.ObjectFactory implementation class u:]c
com.opensymphony.xwork2.ObjectFactory接口(spring) QQI,$HId
;*u"hIl1/
struts.objectFactory.spring.autoWire $|"Y|3&X
Whether Spring should autoWire or not ZNDn! Sj
是否自动绑定Spring Ms=5*_J2Jk
_ck)yY?7
struts.objectFactory.spring.useClassCache $Z|HFV{
Whether Spring should use its class cache or not b!p]\B!
是否spring应该使用自身的cache NMs8^O|0
qPQ6`rD\
struts.objectTypeDeterminer Nwwn #+
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %cO^:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7F5v-/
)d~{gPr.
struts.serve.static.browserCache 8NnGN(a*D
If static content served by the Struts filter should set browser caching header properties or not ,Iv eKk5W
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~k"r
!\<
[}2}
struts.serve.static ^/~ZP?%]
Whether the Struts filter should serve static content or not r=Tz++!
是否struts过滤器应该提供静态内容 #Mw 6>5}<
22OfbwCb
struts.tag.altSyntax #7Fdmnu`
Whether to use the alterative syntax for the tags or not ^%n]_[RUn4
是否可以用替代的语法替代tags <uYrYqN
4%B0H>
struts.ui.templateDir ObPXVqG"?
The directory containing UI templates &=^YN"=Z
UI templates的目录夹 pKtN$Fd
_jb'HP
struts.ui.theme {=%,NwPs
The default UI template theme aP$it6Z
默认的UI template主题 nnOgmI7
HKL/D
struts.url.http.port efr 9
The HTTP port used by Struts URLs vX@TZet0
设置http端口 /S{U|GBB%r
#My14u
struts.url.https.port >^6|^rc
The HTTPS port used by Struts URLs Uiv4'vYg
设置https端口 5,\-;
m#Ydq(0+
struts.url.includeParams 5rb<u>e{
The default includeParams method to generate Struts URLs R$ra=sL`
在url中产生 默认的includeParams C:AD ZJL
-aq3Lqi
i/.#`
struts.velocity.configfile =,b6yV+$D
The Velocity configuration file path 4^Ss\$*
velocity配置文件路径 1=Kt.tuf
b/{$#[oP`
struts.velocity.contexts EQWRfx?d
List of Velocity context names z]2MR2W@X
velocity的context列表 Oq^t[X'
})+iAxR
}a!ny
struts.velocity.manager.classname .mHVJ5^:4\
org.apache.struts2.views.velocity.VelocityManager implementation class enx+,[
org.apache.struts2.views.velocity.VelocityManager接口名 tQ*?L
~GE|,Np
struts.velocity.toolboxlocation F
EUfskv
The location of the Velocity toolbox AGl#f\_^
velocity工具盒的位置 +Wl]1
c/
struts.xslt.nocache uO>x"D5tZ:
Whether or not XSLT templates should not be cached :7M%/#Fy
是否XSLT模版应该被缓存 l 88n*O