struts2的struts.properties配置文件详解 9a1R"%Z
hG9Mp!d91
struts.action.extension pF~aR]Q
The URL extension to use to determine if the request is meant for a Struts action @2$Uk!
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 efbJ2C
Je'%EJ
struts.configuration +y-3tcI)
The org.apache.struts2.config.Configuration implementation class E`wq`g`H<
org.apache.struts2.config.Configuration接口名 li')U
fE>JoQs38
struts.configuration.files =t}m
A list of configuration files automatically loaded by Struts JkLpoe81
struts自动加载的一个配置文件列表 eVbT<9k
yWH!v]S
struts.configuration.xml.reload U?:?NC=1{
Whether to reload the XML configuration or not FB~IO#E8W
是否加载xml配置(true,false)
a(`"qS
?FZ)
LZM
struts.continuations.package Qq.Ja%Zq
The package containing actions that use Rife continuations 5]3Mj*u\
含有actions的完整连续的package名称 uD4W@*PYr
+-hfl/$
struts.custom.i18n.resources -7I%^u
Location of additional localization properties files to load J]NMqiq
加载附加的国际化属性文件(不包含.properties后缀) bSTTr<W
z=rSb4"W
struts.custom.properties >dDcm
Location of additional configuration properties files to load P!&yYR\
加载附加的配置文件的位置 Ci3
b(KR
7$L*nf
E|VTbEYG
struts.devMode ICWHEot
Whether Struts is in development mode or not V-dub{K
是否为struts开发模式 Djp;\.$(
gPpk0LZi
struts.dispatcher.parametersWorkaround Fcn@j#[J
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &D7Mv5i0@
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }?U
#@ h
j#VR>0oC]\
struts.enable.DynamicMethodInvocation @[ '?AsO
Allows one to disable dynamic method invocation from the URL .z,`{-7U
允许动态方法调用 G$lE0_j2{
d8^S~7
struts.freemarker.manager.classname sg<c1
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a7z%)i;Z
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Nqj5, 9*c
w(odgD
struts.i18n.encoding ae+*gkPv8
The encoding to use for localization messages J@q!N;eh|
国际化信息内码 c8o2* C$
8(-N;<Ef2
struts.i18n.reload H ;HFen|
Whether the localization messages should automatically be reloaded zK: 2.4
是否国际化信息自动加载 6ZC~q=my
]vCs9* |B
struts.locale GkdxwuRw
The default locale for the Struts application X&%;(`
默认的国际化地区信息 gYw=Z_z
$h1pL>^J
struts.mapper.class )},/=#C0
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |@MGGAk
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y^5)u/Y=U
TI^X gl~
struts.multipart.maxSize 3pkx3tp{
The maximize size of a multipart request (file upload) 2$joM`j$
multipart请求信息的最大尺寸(文件上传用) -D_xA10
|f[:mO
struts.multipart.parser U;U19[]
The org.apache.struts2.dispatcher.multipart. 7I:<i$)V
MultiPartRequest parser implementation for a multipart request (file upload) ","to
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DPlmrN9@=
_&$nJu
+Jq~39
struts.multipart.saveDir zj;KtgcE
The directory to use for storing uploaded files ,Mu"r!MK
设置存储上传文件的目录夹 ]ex2c{
G
tj" EUqKQ
struts.objectFactory arn7<w0
The com.opensymphony.xwork2.ObjectFactory implementation class o{MmW~/o&
com.opensymphony.xwork2.ObjectFactory接口(spring) <IQ}j^u-F
v-}D>)M^W
struts.objectFactory.spring.autoWire E@)9'?q
Whether Spring should autoWire or not ]7%+SH,RdD
是否自动绑定Spring TmgSV#G
J/A UOInh
struts.objectFactory.spring.useClassCache a+`;:tX,
Whether Spring should use its class cache or not .!g
是否spring应该使用自身的cache TI637yqCU
ju/#V}N
struts.objectTypeDeterminer "l-b(8n
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e>_Il']Mb
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]nx5E_j2
DcNwtts
struts.serve.static.browserCache G-RE
If static content served by the Struts filter should set browser caching header properties or not t",b.vki\z
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {pk&dB _Bu
22v=
A6 =
struts.serve.static HVM(LHm=:
Whether the Struts filter should serve static content or not NYF
7Ep; _
是否struts过滤器应该提供静态内容 4]ETF+
'X1/tB8*
struts.tag.altSyntax qyY]:
(8
Whether to use the alterative syntax for the tags or not Q|W~6
是否可以用替代的语法替代tags RjG=RfB'V
/8s>JPXKH[
struts.ui.templateDir KA]5tVQA
The directory containing UI templates :stA]JB#
w
UI templates的目录夹 ]iH~1 [
d)v'K5
struts.ui.theme :.F;LF&
The default UI template theme XbW 1`PH
默认的UI template主题 -F';1D!l%
bBXUD;$
struts.url.http.port 2@$`xPg
The HTTP port used by Struts URLs r[kmgPld
设置http端口 3rVWehCv
kntn9G
struts.url.https.port _{0IX
The HTTPS port used by Struts URLs 9rM6kLD
设置https端口 7!#34ue
Y-:dPc{
struts.url.includeParams v\Xyz
)
The default includeParams method to generate Struts URLs @"BkLF
在url中产生 默认的includeParams OC_i,
r>7Dg~)V
"P8cgj C
struts.velocity.configfile ]dQ
The Velocity configuration file path -jL10~/
velocity配置文件路径 PRyzUG&
xSZ+6R|
struts.velocity.contexts ?H(']3X5@
List of Velocity context names =sh]H$
velocity的context列表 ?89_2W
:P20g](
mu&%ph=
struts.velocity.manager.classname N#4"P:Sv
org.apache.struts2.views.velocity.VelocityManager implementation class '645Fr[lg
org.apache.struts2.views.velocity.VelocityManager接口名 LP5@ID2G
Xe:e./@
struts.velocity.toolboxlocation hGlRf_{
The location of the Velocity toolbox ~mu)Cw
velocity工具盒的位置 7&
G#&d
struts.xslt.nocache v
L!?4k
Whether or not XSLT templates should not be cached f!+G1z}iA
是否XSLT模版应该被缓存 :,FI 6`