struts2的struts.properties配置文件详解 ( N};.DB1Y
d!YP{y P
struts.action.extension "J=Cy@SSa
The URL extension to use to determine if the request is meant for a Struts action isQOt *
i
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lG%697P
+A)>
zx
struts.configuration V[K N,o{6
The org.apache.struts2.config.Configuration implementation class pt,L
org.apache.struts2.config.Configuration接口名 a !%,2|U
}(|gC,
struts.configuration.files LdN[N^n[H
A list of configuration files automatically loaded by Struts k0K$OX*:e
struts自动加载的一个配置文件列表 p'1/J:EnV
M*kE |q/K
struts.configuration.xml.reload 0doJF@H
Whether to reload the XML configuration or not IDFzyg_
是否加载xml配置(true,false) EG\;l9T
6w,"i#E!
struts.continuations.package %Uz\P|6PO
The package containing actions that use Rife continuations b/]4#?g
含有actions的完整连续的package名称 jy?*` q1]
'wG1un;t
struts.custom.i18n.resources wlaPE8Gc
Location of additional localization properties files to load "QxULiw
加载附加的国际化属性文件(不包含.properties后缀) \y]K]iv
n$r`s`}
struts.custom.properties #S'uqP!
Location of additional configuration properties files to load Br7q.
加载附加的配置文件的位置 d(d<@cB9
/bB4ec8!
KvPCb%!ZP
struts.devMode orH6R8P]
Whether Struts is in development mode or not >(S)aug$1
是否为struts开发模式 D5snaGss9a
ZL\^J8PRK
struts.dispatcher.parametersWorkaround , 6X;YY
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
h-?yed*?
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) jqc}mI\#
_lwKa,}
struts.enable.DynamicMethodInvocation a*U[;(
Allows one to disable dynamic method invocation from the URL jTIG#J)
允许动态方法调用 ~$5XiY8A
ng!cK<p
struts.freemarker.manager.classname i\ X3t5
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class X~0-W Bz
org.apache.struts2.views.freemarker.FreemarkerManager接口名 _#:7S
sJ
OB$Jv<C@
struts.i18n.encoding pTwzVz~
The encoding to use for localization messages Pd"c*n&9
国际化信息内码 a'?;;ZC-
a(]&H
"
struts.i18n.reload pka^7OWyN
Whether the localization messages should automatically be reloaded ~1wt=Ln>
是否国际化信息自动加载 tjb$MW$('
TZt;-t`
struts.locale T :d+Qz\
The default locale for the Struts application xw
43P.
默认的国际化地区信息 R P<M
,#3Aaw
struts.mapper.class EHm*~Sd
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e,_Sj(R8
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Mh-"B([Z
Sl,DZ!
struts.multipart.maxSize jc
Mn
The maximize size of a multipart request (file upload) o?>0WSLlm
multipart请求信息的最大尺寸(文件上传用) ]$r]GVeN}H
yVmp,""a
struts.multipart.parser WX?nq'nr
The org.apache.struts2.dispatcher.multipart. 8^y=YUT
MultiPartRequest parser implementation for a multipart request (file upload) s_IFl5D]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %"A8Af**I
>,]a>V
N wk
struts.multipart.saveDir r*vh3.Agl
The directory to use for storing uploaded files PKrG6%
W+
设置存储上传文件的目录夹 9u{[e"
E4892B:`
struts.objectFactory q| 1%G Nb
The com.opensymphony.xwork2.ObjectFactory implementation class ~&D
=;M/
com.opensymphony.xwork2.ObjectFactory接口(spring) `mz}D76~#
C?gqX0[ q
struts.objectFactory.spring.autoWire HJ7A/XW
Whether Spring should autoWire or not 8$_{R!x
是否自动绑定Spring <1*.:CL"s
\#:
W
struts.objectFactory.spring.useClassCache *eIX"&ba
Whether Spring should use its class cache or not 8p%0d`sX
是否spring应该使用自身的cache SQ4^sk_!
z:f&k}(
struts.objectTypeDeterminer g]?pY
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zl:by?
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6LCtWX
p7Wt(A
struts.serve.static.browserCache }vZf&ib-
If static content served by the Struts filter should set browser caching header properties or not )Y)_T&O
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 q=5aHH% |
+\Jo^\
struts.serve.static it\$Pih]
Whether the Struts filter should serve static content or not O~V^]
是否struts过滤器应该提供静态内容 q<q IT
KMIe%2:b5
struts.tag.altSyntax >=; -:
Whether to use the alterative syntax for the tags or not Dnw^H.
是否可以用替代的语法替代tags {. 9BG&
auK9wQ%\
struts.ui.templateDir \{ EVRRXn
The directory containing UI templates gPk,nB
UI templates的目录夹 mc?IM(t
-#f.}H'
struts.ui.theme TF:'6#p
The default UI template theme hb3:,c(
默认的UI template主题 g@>llve{
'=E;^'Rl
struts.url.http.port u.X]K:Yow
The HTTP port used by Struts URLs iRsB|7v[ ,
设置http端口 -z`FKej
I~n4}}9M
struts.url.https.port . J O3#
The HTTPS port used by Struts URLs gdf0
设置https端口 gxVr1DIkN
$uTrM8
struts.url.includeParams q1:dcxR[
The default includeParams method to generate Struts URLs K^fs#7
在url中产生 默认的includeParams lg-_[!4Z
_S
ng55s
MN2i0!+
struts.velocity.configfile /io06)-/n
The Velocity configuration file path N~$>| gn
velocity配置文件路径 5HOl~E
J"AR3b@,$?
struts.velocity.contexts ~@c<5 -`{
List of Velocity context names (7G4 v
velocity的context列表 s oY\6mHio
'/8/M{`s
0(-4"u>?
struts.velocity.manager.classname CHKhJ v3+4
org.apache.struts2.views.velocity.VelocityManager implementation class %oa@2qJ^
org.apache.struts2.views.velocity.VelocityManager接口名 GO"|^W
bfz7t!A)A
struts.velocity.toolboxlocation p\=T#lb
The location of the Velocity toolbox uG7]s]Wdz;
velocity工具盒的位置 $f3 IO#N
struts.xslt.nocache <K^a2 D
Whether or not XSLT templates should not be cached ' J@J$#6
是否XSLT模版应该被缓存 k^%=\c