struts2的struts.properties配置文件详解 \~#$$Q-qtU
%di]1vQ
struts.action.extension =h<LlI^v
The URL extension to use to determine if the request is meant for a Struts action =Bq3O58+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 RrPo89o
+TQMA>@g<
struts.configuration 0Ek+ }`
The org.apache.struts2.config.Configuration implementation class /s\_"p
org.apache.struts2.config.Configuration接口名 +?!x;qS^
m<DiYxK
struts.configuration.files W_ =
A list of configuration files automatically loaded by Struts SX4"HadV>
struts自动加载的一个配置文件列表 P})Iwk|Z
8<VO>WA>E
struts.configuration.xml.reload L:(>ON
Whether to reload the XML configuration or not covr0N)
是否加载xml配置(true,false) W_##8[r(?
EM.7,;|N
struts.continuations.package X}/{90UD
The package containing actions that use Rife continuations r[TTG0|
含有actions的完整连续的package名称 7%E]E,f/#
D_HE!fl
struts.custom.i18n.resources P9\!JH!
Location of additional localization properties files to load .[E"Kb}=
加载附加的国际化属性文件(不包含.properties后缀) &s|a\!>l
|"Rl_+d7D
struts.custom.properties b"t<B2N
Location of additional configuration properties files to load H)Zb _>iV
加载附加的配置文件的位置 n]N+
;0R>D g
krw_1Mm
struts.devMode c:R`]4o
Whether Struts is in development mode or not Dj~]]
是否为struts开发模式 Y~</vz+H
y$]gmg
struts.dispatcher.parametersWorkaround 4a&*?=GG
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic TaZw_)4c
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XYOPX>$T
qJQ!e
struts.enable.DynamicMethodInvocation BDeX5/`U#
Allows one to disable dynamic method invocation from the URL #s!q(Rc
允许动态方法调用 q Z,7q
3y9K'
struts.freemarker.manager.classname 7q' _]$
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >z`^Q[
org.apache.struts2.views.freemarker.FreemarkerManager接口名 RO([R=.`/
Z]1=nSv
struts.i18n.encoding FuiEy=+
The encoding to use for localization messages L+c7.l.yT
国际化信息内码 cPemrNxydN
;}tEU'&
struts.i18n.reload v[aFSXGj)
Whether the localization messages should automatically be reloaded : DxCjv
是否国际化信息自动加载 hr+,-j
x}`]9XQ
struts.locale qm.30 2
The default locale for the Struts application +EmT+$>J
默认的国际化地区信息 nj (/It
~4YLPMGKl
struts.mapper.class {EoRY/]
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #q06K2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 uA}w?;
<O5r|
struts.multipart.maxSize ,Tb~+z|-[
The maximize size of a multipart request (file upload) wX0m8"g@
multipart请求信息的最大尺寸(文件上传用) 5&y;r
\,w*K'B_Y
struts.multipart.parser U%Kv}s/(F{
The org.apache.struts2.dispatcher.multipart. D*>EWlZ
MultiPartRequest parser implementation for a multipart request (file upload) O:=%{/6&D
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n9;z=
p m4g),s
\WDL?(G<
struts.multipart.saveDir Y1?"Ut
The directory to use for storing uploaded files /-#1ys#F=
设置存储上传文件的目录夹 )w{bT]
GJUorj&
struts.objectFactory !s>AVV$;0
The com.opensymphony.xwork2.ObjectFactory implementation class !T((d7;
com.opensymphony.xwork2.ObjectFactory接口(spring) 4>uy+"8PO
6N{Vcfq
struts.objectFactory.spring.autoWire P <$)v5f
Whether Spring should autoWire or not Wz}8O]#/.
是否自动绑定Spring ];-DqK'
qfO=_z ES
struts.objectFactory.spring.useClassCache ^1a/)Be{_
Whether Spring should use its class cache or not PY4RwN
是否spring应该使用自身的cache ad\?@>[I
2 kOFyD
struts.objectTypeDeterminer -:hiLZJ7-
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <K~> :4c
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P%#EH2J
+h64idM{U
struts.serve.static.browserCache 6,ZfC<)
If static content served by the Struts filter should set browser caching header properties or not M~0A-*N
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }@6/sg
2(-J9y|
struts.serve.static ?P+n0S!
Whether the Struts filter should serve static content or not z/JoUje
是否struts过滤器应该提供静态内容 KuU]enC3
%:v59:i}
struts.tag.altSyntax @R5jUPUVV
Whether to use the alterative syntax for the tags or not kWF/SsE
是否可以用替代的语法替代tags *^BW[C/CTR
6m.ChlO/
struts.ui.templateDir "[PxLq5
The directory containing UI templates Zu4|1W
UI templates的目录夹 L|y4u;-Q
F{:ZHCm
struts.ui.theme 0XrB+nt
The default UI template theme !)jw o=l}J
默认的UI template主题 iqzl (9o.D
sr0.4VU1
struts.url.http.port r/X4Hy0!lT
The HTTP port used by Struts URLs U4DQ+g(A
设置http端口 S$CO T)7
z7[TgL7
struts.url.https.port ]Qo.X~]
The HTTPS port used by Struts URLs |x2+O
设置https端口 1'skCR|!<
^i"C%8
struts.url.includeParams HF9\SVR
B
The default includeParams method to generate Struts URLs vybQ}dscn
在url中产生 默认的includeParams yIm@m[B;
9uXu V$.
U>q&p}z0H
struts.velocity.configfile AN!MFsk
The Velocity configuration file path [DW}z
velocity配置文件路径 3)F9:Tzw1
}Pm>mQZ},
struts.velocity.contexts -S7PnR6
List of Velocity context names y8Q96zi
velocity的context列表 =h?Q.vad
49)A.Bh&!
@%4MFc0`!
struts.velocity.manager.classname jpL'y1@Ut
org.apache.struts2.views.velocity.VelocityManager implementation class ?'xTSAn
org.apache.struts2.views.velocity.VelocityManager接口名 "6T: &>
5ryzAB O\2
struts.velocity.toolboxlocation ?;{fqeJz
The location of the Velocity toolbox p*11aaIbp~
velocity工具盒的位置 :ZP4(}
struts.xslt.nocache l!n<.tQW
Whether or not XSLT templates should not be cached CaX0Jlk*
是否XSLT模版应该被缓存 Z_Gb9