struts2的struts.properties配置文件详解 b=;nm#cAI
`~BZ1)@
struts.action.extension ,e722wz
The URL extension to use to determine if the request is meant for a Struts action NH A 5e<
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 b1#dz]
e [h8}F
struts.configuration UUe#{6Jx_
The org.apache.struts2.config.Configuration implementation class $md%xmQ[
org.apache.struts2.config.Configuration接口名 c=O,;lWFqm
*Zk>2<^R
struts.configuration.files &a0r%L()X
A list of configuration files automatically loaded by Struts g"VMeW^
struts自动加载的一个配置文件列表 23F/\2MSG
u.XQ&
struts.configuration.xml.reload `:NaEF?Sj
Whether to reload the XML configuration or not TUK"nKSZ`.
是否加载xml配置(true,false) ,:2'YB
LNYKm~cN
struts.continuations.package =='Td[
The package containing actions that use Rife continuations fV>CZ^=G
含有actions的完整连续的package名称 k?B[>aQn.0
)!bUR\
struts.custom.i18n.resources |SZo'
6
Location of additional localization properties files to load tRb]7 z
加载附加的国际化属性文件(不包含.properties后缀) 1{x.xi"A/
SLL3v,P(7
struts.custom.properties /1UOT\8U
Location of additional configuration properties files to load \Q?ip&R
加载附加的配置文件的位置 rqPo)AL
]}="m2S3
`r"+644
struts.devMode DTRJ/@t
Whether Struts is in development mode or not \>. LW9
是否为struts开发模式 1/+C5Bp*
{$D,?V@%_
struts.dispatcher.parametersWorkaround >et-{(G
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *iO u'
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) en S}A*Io
s8"8y`u
struts.enable.DynamicMethodInvocation {P%9
Allows one to disable dynamic method invocation from the URL u7%D6W~m0
允许动态方法调用 ))kF<A_MK
zG }?
struts.freemarker.manager.classname f"G-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CvSIV7zYo
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?Ea;J0V
j l.p'$Fbn
struts.i18n.encoding f
3V Dv9(
The encoding to use for localization messages z
/KK)u(q
国际化信息内码 5^<h}u9
\uqjs+
struts.i18n.reload tsOrt3
Whether the localization messages should automatically be reloaded MB^~%uZ2K
是否国际化信息自动加载 C&LBr|
+Mewo
struts.locale 94uNI8
The default locale for the Struts application 8
;d$54
b
默认的国际化地区信息 {'sY|lou
Y`7~Am/r;&
struts.mapper.class j`'`)3f
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T3UMCqc=
org.apache.struts2.dispatcher.mapper.ActionMapper接口 zLs|tJOVp
@+vXMJ $
struts.multipart.maxSize >WJf=F`_H
The maximize size of a multipart request (file upload) K5ZC:Ks
multipart请求信息的最大尺寸(文件上传用) l:0s2
[v7^i_d
struts.multipart.parser $E<Esf$
The org.apache.struts2.dispatcher.multipart. fqX"Lus `=
MultiPartRequest parser implementation for a multipart request (file upload) y.5/?{GL
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }VS3L_
;}/
oF9
-&
Va,<3z%O<
struts.multipart.saveDir [Aj Q#;#Q
The directory to use for storing uploaded files jUv!9Y}F
设置存储上传文件的目录夹 4(e59ZgY
=L%DX#8
struts.objectFactory FMNm,O]
The com.opensymphony.xwork2.ObjectFactory implementation class ~CB[9D=
com.opensymphony.xwork2.ObjectFactory接口(spring) .7'kw]{/
0N[&3Ee8
struts.objectFactory.spring.autoWire d2oh/j6`TA
Whether Spring should autoWire or not WARb"8Kg
是否自动绑定Spring \P} p5k[
H1<>NWm!v7
struts.objectFactory.spring.useClassCache 3~,d+P
Whether Spring should use its class cache or not h~&gIub
是否spring应该使用自身的cache UDhG :
=9oPowq
struts.objectTypeDeterminer I}e3zf>
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i|w8.}0
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Wcb7
;~K
]2#
struts.serve.static.browserCache bfB\h*XO
If static content served by the Struts filter should set browser caching header properties or not '1,,)U#6E
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5w %_$x
=U8a ?0
struts.serve.static {Q+gZcu
Whether the Struts filter should serve static content or not )1N 54FNO
是否struts过滤器应该提供静态内容 ul%h@=n
ZX ?yL>4
struts.tag.altSyntax D3|oOOoG
Whether to use the alterative syntax for the tags or not QM3,'?ekRH
是否可以用替代的语法替代tags f|^dD`
5MFxo63
struts.ui.templateDir ,jXM3?>B
The directory containing UI templates O^/Maa/D1
UI templates的目录夹 FMkOo2{
>fH=DOz$&
struts.ui.theme u` oq(?|
The default UI template theme Fk(JSiU
默认的UI template主题 j1_@qns{
<;E
struts.url.http.port `_b`kzJ
The HTTP port used by Struts URLs hN['7:bQ
设置http端口 3qY K_M^[
V"p!Bf
struts.url.https.port 1;Pv0&[q/
The HTTPS port used by Struts URLs >zDF2Y[
设置https端口 h;=6VgXZ
: ^ 8
struts.url.includeParams (`SRJ$~f
The default includeParams method to generate Struts URLs USFDy
在url中产生 默认的includeParams Q{k
At%
GUF"<k
h~C.VJWl
struts.velocity.configfile 8$(Dz]v|[&
The Velocity configuration file path !61Pl/uQ
velocity配置文件路径 SIbDj[s
?Ma~^0
struts.velocity.contexts Zy|Mz&
List of Velocity context names sp@E8G%xO
velocity的context列表 ,K:ll4{b
#gm)dRKm%
kId
n6 Wx,
struts.velocity.manager.classname A
AHt218
org.apache.struts2.views.velocity.VelocityManager implementation class piU/&
org.apache.struts2.views.velocity.VelocityManager接口名 c/_+o;Bc
M$0u1~K
struts.velocity.toolboxlocation -s 6![eV
The location of the Velocity toolbox aR\\<due
velocity工具盒的位置 L`th7d"
struts.xslt.nocache J9K3s_SN
Whether or not XSLT templates should not be cached ^(*n]
是否XSLT模版应该被缓存 oI^4pwn h