struts2的struts.properties配置文件详解 |_*O '#jx
-o[x2u~n\
struts.action.extension =;3Sx::=
The URL extension to use to determine if the request is meant for a Struts action 7/ysVWt
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PMh^(j[
WDc+6/<
struts.configuration EQ`(yj
The org.apache.struts2.config.Configuration implementation class {G}.b)9FG
org.apache.struts2.config.Configuration接口名 0Lc9M-Lg
qY<'<T4\
struts.configuration.files ujaGNg?,
A list of configuration files automatically loaded by Struts !2A:"2Kys:
struts自动加载的一个配置文件列表 'EF9Zt8
5b/|!{
struts.configuration.xml.reload *:t|qgJI#+
Whether to reload the XML configuration or not RwPN gRF
是否加载xml配置(true,false) &8>IeK{I
)XakJU^o
struts.continuations.package ^m"u3b4
The package containing actions that use Rife continuations e2ilB),
含有actions的完整连续的package名称 feNdMR7eM
zj`v?#ET
struts.custom.i18n.resources pUq1|)g
Location of additional localization properties files to load [*H N"
加载附加的国际化属性文件(不包含.properties后缀) 4.h=&jz&
X M#T'S9y8
struts.custom.properties ll6wpV0m
Location of additional configuration properties files to load B}:(za&
加载附加的配置文件的位置 ]2'na?q9
HATA- M
gb> }v7
struts.devMode fX.>9H[w@~
Whether Struts is in development mode or not 4%}*&nsI-Z
是否为struts开发模式
HA`@7I
`V"sOTb
struts.dispatcher.parametersWorkaround SWQ5fcPu
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tqeZ#w7
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) aj}sc/Qa
VUYmz)m5
struts.enable.DynamicMethodInvocation Q7$.LEioN
Allows one to disable dynamic method invocation from the URL h0-hT
允许动态方法调用 I1\a[Xe8E
T ;vF(
struts.freemarker.manager.classname %1O[i4s:-
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H5]^
6
HwX
org.apache.struts2.views.freemarker.FreemarkerManager接口名 (+u39NQV
J-)
XQDD
struts.i18n.encoding \XM^oE#G
The encoding to use for localization messages $dzy%lle
国际化信息内码 D]W$?(=4
9}uW}yJ
struts.i18n.reload =ng\ 9y[;D
Whether the localization messages should automatically be reloaded bH2MdU
是否国际化信息自动加载
8<7GdCME
@@rEs40
struts.locale ,0~9dS
The default locale for the Struts application :l&V]}:7*
默认的国际化地区信息 ^#1.l=s
vab@-=%k
struts.mapper.class tBT<EV{ G
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C,NxE5?h
org.apache.struts2.dispatcher.mapper.ActionMapper接口 d&u]WVU
*gF<m9&
struts.multipart.maxSize d/|D<Sb[s
The maximize size of a multipart request (file upload) E%v?t1>/
multipart请求信息的最大尺寸(文件上传用) E}_[QEY;Y
6,LubZFD
struts.multipart.parser
wm")[!h)v
The org.apache.struts2.dispatcher.multipart. (_*5oj-
MultiPartRequest parser implementation for a multipart request (file upload) X*Dj[TD]
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) W4U@%b do
lGk{LO)
pY~,(s|Qb
struts.multipart.saveDir n;p:=\uN
The directory to use for storing uploaded files f1)x5N
设置存储上传文件的目录夹 V$icWu
Vc%R$E%
struts.objectFactory qc!MG_{Y
The com.opensymphony.xwork2.ObjectFactory implementation class #8bsxx!s
com.opensymphony.xwork2.ObjectFactory接口(spring) o fMY,~w
U
uM$~qf/K
struts.objectFactory.spring.autoWire u4neXYSy
Whether Spring should autoWire or not a9Z%JS]
是否自动绑定Spring Ppt2A6W
|vMpXiMxxT
struts.objectFactory.spring.useClassCache saAxGG
Whether Spring should use its class cache or not 4)4+M
是否spring应该使用自身的cache -0eq_+oQ
uy^
struts.objectTypeDeterminer P"?FnTbv[
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7Wa?$6d
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [NIlbjYH
?@t d
struts.serve.static.browserCache pD2<fP_
If static content served by the Struts filter should set browser caching header properties or not G,<T/f
.{$
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A'K%WW*'U
#nO|A\N
struts.serve.static d90Z,nex
Whether the Struts filter should serve static content or not 7GSV
是否struts过滤器应该提供静态内容 G #T<`>T
B_l{<
struts.tag.altSyntax (NK9vW4F
Whether to use the alterative syntax for the tags or not t"lyvI[
是否可以用替代的语法替代tags p,<&zHb>K
rgf# wH%hN
struts.ui.templateDir s/e"'Hz
The directory containing UI templates @@g\2Gs
UI templates的目录夹 y"<))-MH
8?O>ZZtu
struts.ui.theme ai^4'{#zi
The default UI template theme lJs<
默认的UI template主题 ;.Ie#Vr1N
Af5D>/
struts.url.http.port u=NSsTP&
The HTTP port used by Struts URLs j9U%7u]-k
设置http端口 qXW})(
8dOo Q
struts.url.https.port =GBI0&U
The HTTPS port used by Struts URLs z6~
H:k1G%
设置https端口 *P!e:Tm)
3!o4)yJWx
struts.url.includeParams -/dEsgO
The default includeParams method to generate Struts URLs C4#rA.nF|
在url中产生 默认的includeParams ph|ZG6:
]PP:oriWl
W Qzj[
struts.velocity.configfile lhYn5d)DV
The Velocity configuration file path xf>z @)e
velocity配置文件路径 |nk3^;Yf
l\!-2 T6Y
struts.velocity.contexts O:/yAc`
List of Velocity context names E%TpJl'U
velocity的context列表 x/MZ(A%D
^D_/=4rz8
6V+ qnUk
struts.velocity.manager.classname &>jAe_{",
org.apache.struts2.views.velocity.VelocityManager implementation class )g@S%Yu
org.apache.struts2.views.velocity.VelocityManager接口名 l0Ti Z
rba;&D;
struts.velocity.toolboxlocation v !Kw<
fp|
The location of the Velocity toolbox 1fL<&G
velocity工具盒的位置 tAFti+Qb
struts.xslt.nocache YIp-Y}6
Whether or not XSLT templates should not be cached sK=}E=
是否XSLT模版应该被缓存 a)! g7u