struts2的struts.properties配置文件详解 5Z9 ~
&U
Rj}o4s2x
struts.action.extension {;&B^uz
]
The URL extension to use to determine if the request is meant for a Struts action UIf ZPf=
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WfRfx#MMt
S~k*r{?H})
struts.configuration R>d@tr
The org.apache.struts2.config.Configuration implementation class hr[B^?6
org.apache.struts2.config.Configuration接口名 )XP#W|;
-.{oqs$
struts.configuration.files N~):c2Kp<9
A list of configuration files automatically loaded by Struts ?jri!]ux#
struts自动加载的一个配置文件列表 *!g 24
;Rhb@]X
struts.configuration.xml.reload dCZ\ S91q
Whether to reload the XML configuration or not #`La|a.-
是否加载xml配置(true,false) os1?6z~
Zn@W7c,_I
struts.continuations.package l@N;sI<O-
The package containing actions that use Rife continuations OQ(D5GR:4
含有actions的完整连续的package名称 o#xgrMB
LZM,QQ
struts.custom.i18n.resources \T`["<
Location of additional localization properties files to load .73zik
加载附加的国际化属性文件(不包含.properties后缀) aUW/1nQHa
tx0Go'{
struts.custom.properties d/B'[Ur
Location of additional configuration properties files to load _)KY
加载附加的配置文件的位置 dh^+l;!L
IV{FH&t^T"
S~0JoCeo
struts.devMode k]?z~ p
Whether Struts is in development mode or not rQ
是否为struts开发模式 %M{k.FE(
Mlv<r=E
struts.dispatcher.parametersWorkaround )?w&oIj5
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g.x=pt
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2yN%~C?$
2wx!Lpr<i_
struts.enable.DynamicMethodInvocation P</s)"@
Allows one to disable dynamic method invocation from the URL _+twqi
允许动态方法调用 60GFVF]'2
{~"7vkc+
struts.freemarker.manager.classname G HD^%)T5^
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d/XlV]#2x\
org.apache.struts2.views.freemarker.FreemarkerManager接口名 A7k'K4
O)`fvpVU
struts.i18n.encoding Bx(yu'g|a
The encoding to use for localization messages ! FNf>z+
国际化信息内码 5x8'K7/4.
j2|XDOf
struts.i18n.reload J&M1t#UN
Whether the localization messages should automatically be reloaded 5kcJ
是否国际化信息自动加载 6*ZU}xT
[}>#YPZ
struts.locale c[SU5 66y
The default locale for the Struts application zwK
}7h6]
默认的国际化地区信息 [tUv*jw %
AG]WO8f)
struts.mapper.class ZCm1+Y$
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 31~hlp;
org.apache.struts2.dispatcher.mapper.ActionMapper接口 )`w=qCn1 Y
Zta$R,[9h
struts.multipart.maxSize <rNtY ,
The maximize size of a multipart request (file upload) ht?CHUu
multipart请求信息的最大尺寸(文件上传用) I-xwJi9?,
: *ERRSL)
struts.multipart.parser D"L|"qJ
The org.apache.struts2.dispatcher.multipart. R0%?:!
F
MultiPartRequest parser implementation for a multipart request (file upload) $`|5/,M%QN
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OI+E
(nA
n`]l^qE
3&es]1b
struts.multipart.saveDir }wG,BB %N
The directory to use for storing uploaded files Qi_&aU$>lM
设置存储上传文件的目录夹 {|s/]W
tNU-2r
struts.objectFactory y-'" >
The com.opensymphony.xwork2.ObjectFactory implementation class #wF1
com.opensymphony.xwork2.ObjectFactory接口(spring) Dy su{rL
TWUUvj`.
struts.objectFactory.spring.autoWire AzZJG v]H
Whether Spring should autoWire or not Q6=MS>JW]w
是否自动绑定Spring Y2<dM/b/
a\=-D:
struts.objectFactory.spring.useClassCache Nz~(+pVWg5
Whether Spring should use its class cache or not OR]T`meO
是否spring应该使用自身的cache )o{VmXe@@
yVaU t_Zi
struts.objectTypeDeterminer LZ{YmD&6]
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N/K=Ygv.
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?cJY
B)
~z5@V5z
struts.serve.static.browserCache F)
?o,
If static content served by the Struts filter should set browser caching header properties or not Y)|~:& tZ
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <yZP|_
[g#s&bF
struts.serve.static sxo;/~.p
Whether the Struts filter should serve static content or not + 3h`UF
是否struts过滤器应该提供静态内容 "%VbI P
[[w2p
struts.tag.altSyntax eK'wVg#
Whether to use the alterative syntax for the tags or not (^LS']ybc
是否可以用替代的语法替代tags 0Q'v HZ"
be7L="vZw
struts.ui.templateDir tw=K&/@^O
The directory containing UI templates \<ZLoy_
UI templates的目录夹 S_2"7
{7qA &c=
struts.ui.theme \m f*ge\
The default UI template theme "A;s56 }'&
默认的UI template主题 ?4 qkDtm
BEWro|]cM
struts.url.http.port ZRnL_z~
The HTTP port used by Struts URLs pYt/378w
设置http端口 vf<UBa;Xm
Gg|M+M?+
struts.url.https.port B oqJ
The HTTPS port used by Struts URLs bj}=8k0
设置https端口 Vv8_\^g]
,^ 7 CP
struts.url.includeParams zie=2
The default includeParams method to generate Struts URLs <W*xshn
在url中产生 默认的includeParams g` [` P@
yyP'Z~0
j$vK<SF
struts.velocity.configfile Ra[>P _
The Velocity configuration file path $o.Kn9\
velocity配置文件路径 M;KA]fmc
o2aM#Q
struts.velocity.contexts 94Ud@F9d5
List of Velocity context names H8f]}
velocity的context列表 KXf<$\+zO
^O)ve^P
mRwT_(;t
struts.velocity.manager.classname ^P?vkO"pB?
org.apache.struts2.views.velocity.VelocityManager implementation class ;#&fgj
org.apache.struts2.views.velocity.VelocityManager接口名 W`rMtzL5
*"cD.)]#2
struts.velocity.toolboxlocation XK qK<!F
The location of the Velocity toolbox =1Z;Ma<;
velocity工具盒的位置 WhFS2Jl0
struts.xslt.nocache rA1qSG~c
Whether or not XSLT templates should not be cached rQJ"&CapT
是否XSLT模版应该被缓存 K"\MU