struts2的struts.properties配置文件详解 S!CC
}3zw
e{K 215
struts.action.extension !>&o01i
The URL extension to use to determine if the request is meant for a Struts action bl;1i@Z*M
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 b94DJzL1z
83\pZ1>)_
struts.configuration '[:D$q;
The org.apache.struts2.config.Configuration implementation class u'DRN,h+
org.apache.struts2.config.Configuration接口名 s Y Qk
Qbn"=n2
struts.configuration.files "Ac-tzhE
A list of configuration files automatically loaded by Struts .@U@xRu7|
struts自动加载的一个配置文件列表 X`>i&I]
xJ8M6O8
struts.configuration.xml.reload Rtl"Ub@HV
Whether to reload the XML configuration or not zu{P#~21
是否加载xml配置(true,false) q"J]%zO
b=NxUd O
struts.continuations.package Jhhb7uU+
The package containing actions that use Rife continuations )9`qG:b'
含有actions的完整连续的package名称 $|@@Qk/T
d.d/<
struts.custom.i18n.resources E
A1?)|}n
Location of additional localization properties files to load ?M9=yA
加载附加的国际化属性文件(不包含.properties后缀) *zvx$yJ?
:q%M_
struts.custom.properties 6j]0R*B7`Q
Location of additional configuration properties files to load f+,qNvBY/
加载附加的配置文件的位置 w``ST
m@v\(rT.
;))+>%SGCt
struts.devMode YkKi|k
Whether Struts is in development mode or not oIzj,v8$
是否为struts开发模式 k2tF}
:KP@RZm
struts.dispatcher.parametersWorkaround k)=s>&hl
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H=vUYz
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Zt{[*~
qWPkT$ u
struts.enable.DynamicMethodInvocation e\zm7_+i{
Allows one to disable dynamic method invocation from the URL g@!V3V
允许动态方法调用 "e>;'%W
_|I#{jK
struts.freemarker.manager.classname O-hAFKx
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Vv=. -&'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 DA,?}
4p;`C
struts.i18n.encoding -zeG1gr3
The encoding to use for localization messages MH\dC9%p
国际化信息内码 "JV_ 2K_i
H40p86@M
struts.i18n.reload 6 V=9M:
Whether the localization messages should automatically be reloaded 3;{kJQ
是否国际化信息自动加载 jLm ;ty2;
~HsJUro
struts.locale 2uW;
xfeY
The default locale for the Struts application ^Y \"}D
默认的国际化地区信息 Y\8)OBZ
y?? XIsF
struts.mapper.class =X:Y,?
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ndMA-`Ny,
org.apache.struts2.dispatcher.mapper.ActionMapper接口 zHRplm+i
=-n}[Y}A
struts.multipart.maxSize `1fY)d^ZS
The maximize size of a multipart request (file upload) GGs}i1m
multipart请求信息的最大尺寸(文件上传用) \Uq(Zga4)
i<Zc"v;
struts.multipart.parser lX4
x*
The org.apache.struts2.dispatcher.multipart. }WXi$(@v
MultiPartRequest parser implementation for a multipart request (file upload) f6>b|k~
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ( ^Nz9{
7~.9=I'A
+#@I~u _}D
struts.multipart.saveDir ]Q)OL
The directory to use for storing uploaded files /@TF5]Ri
设置存储上传文件的目录夹 BUXpCxQ
BpPy&
struts.objectFactory c4eBt))}V
The com.opensymphony.xwork2.ObjectFactory implementation class y _k
l:Ssa
com.opensymphony.xwork2.ObjectFactory接口(spring) `Eo.v#<
g(CI;f}y
struts.objectFactory.spring.autoWire \\;jw[P0
Whether Spring should autoWire or not I:1C8*/
是否自动绑定Spring VTY 5]|;
!wh8'X*
struts.objectFactory.spring.useClassCache
o`z]|G1''
Whether Spring should use its class cache or not ope^~+c~\
是否spring应该使用自身的cache srrgvG,
e8?jmN`2
struts.objectTypeDeterminer ?J>
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mtcw#D
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dSV8q
,D
-k"/X8
struts.serve.static.browserCache *#+An<iT ;
If static content served by the Struts filter should set browser caching header properties or not p}U ~+:v
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T'Dv.h
-;WGS o
struts.serve.static Y\g3hM
Whether the Struts filter should serve static content or not ^RIl
是否struts过滤器应该提供静态内容 |[b{)s?x
ZyFjFHe+
struts.tag.altSyntax m
GYoM
Whether to use the alterative syntax for the tags or not &`2)V;t
是否可以用替代的语法替代tags m#\dSl}
hf&9uHN%7m
struts.ui.templateDir Em~>9f
?Q(
The directory containing UI templates ~q25Yx9W@
UI templates的目录夹 YNsJZnGr8#
mrtb*7`$
struts.ui.theme Bh-ym8D
The default UI template theme 8&b,qQ~
默认的UI template主题 tf`^v6m%]
^SrJu:Q_
struts.url.http.port 9V*qQS5<p
The HTTP port used by Struts URLs > /caXvS
设置http端口 i?^L/b`H
FJ)$f?=Qd
struts.url.https.port X$W~mQma6
The HTTPS port used by Struts URLs PALc;"]O
设置https端口 ge8ZsaiU
4
"'~NvO
struts.url.includeParams 6i3$C W
The default includeParams method to generate Struts URLs svH !1b
在url中产生 默认的includeParams *u;Iw{.{
Qd3 j%(
P71Lqy)5}A
struts.velocity.configfile Y`a3tO=Pd
The Velocity configuration file path C!bUI8x
z
velocity配置文件路径 /f;~X"!
>tW#/\x{
struts.velocity.contexts &gx%b*;`L0
List of Velocity context names A^<jy=F&
velocity的context列表 Oxd]y1
P@c5pc#|
A6(/;+n
struts.velocity.manager.classname %n9aaoD
org.apache.struts2.views.velocity.VelocityManager implementation class 8v%o,"
org.apache.struts2.views.velocity.VelocityManager接口名 tK\~A,=
;u)I\3`*!
struts.velocity.toolboxlocation A2Gevj?F$
The location of the Velocity toolbox ;uP:"k
velocity工具盒的位置 o&$A]ph8X
struts.xslt.nocache 1p=]hC
Whether or not XSLT templates should not be cached c5GuM|*7
是否XSLT模版应该被缓存 &
>fQp(f