struts2的struts.properties配置文件详解 N|WR^MQD
!TuMrA*
struts.action.extension sJ/?R:
The URL extension to use to determine if the request is meant for a Struts action YR/rN,
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ZTSNM)f
\c$!C8z
struts.configuration 8|p*T&Cn&
The org.apache.struts2.config.Configuration implementation class (/l9@0Y.t
org.apache.struts2.config.Configuration接口名 =C2,?6!
TL_8c][.4$
struts.configuration.files t[cZ|+^]
A list of configuration files automatically loaded by Struts ,U/ZG|=v
struts自动加载的一个配置文件列表 j'JNQo;q
DW~< 8
struts.configuration.xml.reload ;GxKPy
Whether to reload the XML configuration or not '=vD!6=0@
是否加载xml配置(true,false)
liq9P,(
'Sjcm@ILm
struts.continuations.package ~I)\d/7o
The package containing actions that use Rife continuations cw{[% 7
含有actions的完整连续的package名称 6~0.YZ9
t@EHhiBz
struts.custom.i18n.resources k
GzosUt
Location of additional localization properties files to load lGr(GHn
加载附加的国际化属性文件(不包含.properties后缀) Doy7prKI8
@RF!p
struts.custom.properties x+7jJ=F
Location of additional configuration properties files to load 6rOd80\
加载附加的配置文件的位置 sjV>&eb
!j?2HlIK+
YTpO4bX
struts.devMode R nf$
Whether Struts is in development mode or not GoNX\^A
是否为struts开发模式 ,0=:06l
@dCoh-Q3
struts.dispatcher.parametersWorkaround @'EU\Y\l
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n +z5;'my
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Am?
d HP
W[Ro)
struts.enable.DynamicMethodInvocation n-n{+Dl!
Allows one to disable dynamic method invocation from the URL vHPp$lql
允许动态方法调用 p M:lg
z@3t>k|K
struts.freemarker.manager.classname 7Z/KXc[b
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a:tCdnK/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 7a}vb@
iWZrZ5l
struts.i18n.encoding kMz^37IFMG
The encoding to use for localization messages Q}M%
\v
国际化信息内码 r0)X]l7
ga~C?H,K
struts.i18n.reload }?=$?3W
Whether the localization messages should automatically be reloaded
.* xaI+:
是否国际化信息自动加载 -&*
4~
SablF2doa
struts.locale q8{)27f,
The default locale for the Struts application C-abc+/
默认的国际化地区信息 ;X
]+r$_
K$dSg1t
struts.mapper.class |A#pG^
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4~3 N;]X
org.apache.struts2.dispatcher.mapper.ActionMapper接口 lXS.,#lp
#B3P3\
struts.multipart.maxSize x_vaYUl)
The maximize size of a multipart request (file upload) Z!P7mH\c}
multipart请求信息的最大尺寸(文件上传用) c1?_L(
)8:Ltn%
struts.multipart.parser cf#2Wg)
The org.apache.struts2.dispatcher.multipart. +KV`+zic+
MultiPartRequest parser implementation for a multipart request (file upload) J?~El&
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i5sNCt
l* =\0
i[_WO2
struts.multipart.saveDir C$~2FTx
The directory to use for storing uploaded files >'^Tp7\
设置存储上传文件的目录夹 Uv~r]P)
Y9)uy 8c
struts.objectFactory %OeA"#
The com.opensymphony.xwork2.ObjectFactory implementation class <0r2m4z
com.opensymphony.xwork2.ObjectFactory接口(spring) w NlC2is
mjDaus59
struts.objectFactory.spring.autoWire |?=K'[5
Whether Spring should autoWire or not lr:rQw9
是否自动绑定Spring 0Z{f!MOh
RjY(MSc
struts.objectFactory.spring.useClassCache J2M[aibV
Whether Spring should use its class cache or not VL5GX(
是否spring应该使用自身的cache [;`B
`<1o}r 7i
struts.objectTypeDeterminer |UN0jR
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }j^asuf~c
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?CgqHmf\\(
'`#sOH
struts.serve.static.browserCache x78`dX
If static content served by the Struts filter should set browser caching header properties or not *UVo>;
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "NY[&S
EIqe|a+
struts.serve.static ]Z?y\L*M-
Whether the Struts filter should serve static content or not E)l0`83~^
是否struts过滤器应该提供静态内容 Nr?Z[6O|
wJs#rkW
struts.tag.altSyntax 7{%_6b"
Whether to use the alterative syntax for the tags or not 8X,dVX5LT
是否可以用替代的语法替代tags !e5!8z
PT7-_r
struts.ui.templateDir B8){
The directory containing UI templates }&+b\RE
UI templates的目录夹 5hN`}Ve
RjC3wO::
struts.ui.theme +>b~nK>M
The default UI template theme DlHt#Ob7
默认的UI template主题 W_:3Sj l'
i^9 ,. $<1
struts.url.http.port [&e|:1
The HTTP port used by Struts URLs >?/Pl"{b
设置http端口 cI~uI'
z']TRjDbT
struts.url.https.port 4PtRTb0<i3
The HTTPS port used by Struts URLs 0x&-/qce6W
设置https端口 hXBAs*4DV8
i^SuVca
struts.url.includeParams V*X6 <}
The default includeParams method to generate Struts URLs OPVF)@"ptM
在url中产生 默认的includeParams $on"@l%U
=hZ#Z]f
TI^W=5W@@
struts.velocity.configfile }
+
]A?'&
The Velocity configuration file path HjCWsQM
velocity配置文件路径 PE $sF]/
i2]7Bf)oV
struts.velocity.contexts pZo:\n5o
List of Velocity context names (X=JT
velocity的context列表 5f;6BP
6V{Sf9V|
77KB-l2
struts.velocity.manager.classname Nm;yL
org.apache.struts2.views.velocity.VelocityManager implementation class :w|ef;
org.apache.struts2.views.velocity.VelocityManager接口名 [Dr'
GtR!a
struts.velocity.toolboxlocation ! =(OvX_<
The location of the Velocity toolbox &PQhJ#YG
velocity工具盒的位置 S$~T8_m^U
struts.xslt.nocache #0HZ"n
Whether or not XSLT templates should not be cached S T#9auw
是否XSLT模版应该被缓存 MI^@p`s