struts2的struts.properties配置文件详解 _aj,tz
FZ~^cK9g:
struts.action.extension y1c2(K>tu
The URL extension to use to determine if the request is meant for a Struts action +l) [A{
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 3yw`%$d5
t#BQB<GI
struts.configuration =)mA.j}E2
The org.apache.struts2.config.Configuration implementation class I->BDNk
org.apache.struts2.config.Configuration接口名 ^ 9`O
^
=dM'n}@U
struts.configuration.files &b:SDl6
A list of configuration files automatically loaded by Struts :qe.*\
c
struts自动加载的一个配置文件列表 ?hh#@61
zz_(*0,Qcr
struts.configuration.xml.reload NwbX]pDT
Whether to reload the XML configuration or not r&_bk
Y%
是否加载xml配置(true,false) VkJBqRzBOa
;5PBZ<w
struts.continuations.package sf5 F$
The package containing actions that use Rife continuations ~,O&A B
含有actions的完整连续的package名称 V+Y;
fDD^?/^
struts.custom.i18n.resources P4{!/&/
Location of additional localization properties files to load )N'rYS'9
加载附加的国际化属性文件(不包含.properties后缀) sRKoM
*)u%KYGr
struts.custom.properties >,}SP;
Location of additional configuration properties files to load &\>. j|
加载附加的配置文件的位置 RoYwZX~
rMEM$1vPU
@b{I0+li"/
struts.devMode 3K{G =WE$
Whether Struts is in development mode or not 6s(.ul
是否为struts开发模式 %&}gt+L(M
fZka$
4
struts.dispatcher.parametersWorkaround vMv?
fE"
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f)#rBAkt
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) w)7 s]Ld
9[,+4&wX7
struts.enable.DynamicMethodInvocation |$+
xVi8
Allows one to disable dynamic method invocation from the URL 1}ER+;If
允许动态方法调用 PDNbhUAV
4RyQ^vL
struts.freemarker.manager.classname ,LftQ1*;
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class
YG K7b6
org.apache.struts2.views.freemarker.FreemarkerManager接口名 WinwPn+9
?w5>Z/V
struts.i18n.encoding (t_%8Eu
The encoding to use for localization messages B6J<
国际化信息内码 >& `;@ZOH
;5!M+nk
struts.i18n.reload U#>K(
Whether the localization messages should automatically be reloaded 'Hv=\p4$1
是否国际化信息自动加载 teX)!N [
y^[?F>wB
struts.locale :[d*
The default locale for the Struts application GMOnp$@H^s
默认的国际化地区信息 =" ;G&)H-
2`P=ekF]
struts.mapper.class `PS^o#
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q nmv?YXS
org.apache.struts2.dispatcher.mapper.ActionMapper接口 `RHhc{
C7Ny-rj}IA
struts.multipart.maxSize Gph:'3
*X
The maximize size of a multipart request (file upload) ?M9?GodbP.
multipart请求信息的最大尺寸(文件上传用) zTS P8Q7
hmp!|Q[)
struts.multipart.parser :sA$LNj}
The org.apache.struts2.dispatcher.multipart. :J;&Z{
MultiPartRequest parser implementation for a multipart request (file upload) \w@V7~vA
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XpIl-o&re
x=YV*
Vqp3'=No
struts.multipart.saveDir O 4C}]E
The directory to use for storing uploaded files n@_aTY
设置存储上传文件的目录夹 [oDu3Qn
/7LAd_P6
struts.objectFactory +[Bl@RHe^
The com.opensymphony.xwork2.ObjectFactory implementation class $iMbtA5aQ
com.opensymphony.xwork2.ObjectFactory接口(spring) 8Os: SC@Q
Aq;WQyZ2
struts.objectFactory.spring.autoWire 'y%*W:O
Whether Spring should autoWire or not jeWI<ms
是否自动绑定Spring 5fY7[{2
SL5QhP
struts.objectFactory.spring.useClassCache fjh,e
Whether Spring should use its class cache or not 4 zhg#
是否spring应该使用自身的cache cH6<'W{*
+<rWYF(ii/
struts.objectTypeDeterminer Gc,6;!+(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -=4{X
R3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1+v!)Y>Z&
H$rNT/C
struts.serve.static.browserCache lN~u='Kc
If static content served by the Struts filter should set browser caching header properties or not z$Z{ LR
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \'.|7{Xu
D* QZR;D#.
struts.serve.static p5`={'>-
Whether the Struts filter should serve static content or not AQjf\i
是否struts过滤器应该提供静态内容 TxP8&!d
_"h1#E
struts.tag.altSyntax ICD;a
Whether to use the alterative syntax for the tags or not -jk-ve
是否可以用替代的语法替代tags =`E{QCW
,d@FO|G#pt
struts.ui.templateDir VI k]`)#
The directory containing UI templates ^SWV!rrg
UI templates的目录夹 +j(7.6ia
w)Z-, J
struts.ui.theme kK_9I (7c
The default UI template theme =-E%vnU
默认的UI template主题 jL,P )TC
9a$ 7$4m
struts.url.http.port g).IF.
The HTTP port used by Struts URLs 9o+e3TXp#
设置http端口 :wY(</H
q!y!=hI
struts.url.https.port Nin7AOO
The HTTPS port used by Struts URLs Kr%w"$<
设置https端口 kzmw1*J
,b9!\OWDF
struts.url.includeParams J0FJ@@
The default includeParams method to generate Struts URLs L XHDX
在url中产生 默认的includeParams h@jk3J9^
j^m x ,
N?v}\ PU
struts.velocity.configfile MnTqWC90
The Velocity configuration file path !0X/^Xv@=
velocity配置文件路径 #b>D^=NV>)
tvcM<
e20
struts.velocity.contexts B3Da w/G
List of Velocity context names (y5]]l
velocity的context列表 mWTV)z57
dmPAPCm%y
s|D[_N!|
struts.velocity.manager.classname &Ivf!Bgm{Z
org.apache.struts2.views.velocity.VelocityManager implementation class "@UyUL
org.apache.struts2.views.velocity.VelocityManager接口名 Dd'J"|jF38
^\g?uH6k U
struts.velocity.toolboxlocation |* B9{/;4
The location of the Velocity toolbox `M!'PMX
velocity工具盒的位置 _rz7)%Y'#$
struts.xslt.nocache P~h0Ul
Whether or not XSLT templates should not be cached \[<8AV"E-'
是否XSLT模版应该被缓存 e'2w-^7