struts2的struts.properties配置文件详解 ;(0E#hGN
Nuw_,-h
struts.action.extension 9)a:8/Y
The URL extension to use to determine if the request is meant for a Struts action /k(KA [bS
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "c6(=FFq
6-@
X
struts.configuration Y!6,ty'
The org.apache.struts2.config.Configuration implementation class ]~SOGAFW
org.apache.struts2.config.Configuration接口名 m};Qng]
'o#ve72z1
struts.configuration.files D#T1~r4
A list of configuration files automatically loaded by Struts d +Vx:`tT
struts自动加载的一个配置文件列表 :{d?B$
nSL
x1Q
struts.configuration.xml.reload W7a aL
Whether to reload the XML configuration or not xi]qdiA
是否加载xml配置(true,false) /OpVr15
4q`$nI Bi
struts.continuations.package cj:!uhZp7
The package containing actions that use Rife continuations .I@jt?6X
含有actions的完整连续的package名称 5ap~;t
h] (BTb#-
struts.custom.i18n.resources XujVOf
Location of additional localization properties files to load YJlpP0;++
加载附加的国际化属性文件(不包含.properties后缀) V(%L}0[]
v}v! hs Q
struts.custom.properties /\S1p3EW*
Location of additional configuration properties files to load "YUyM5X
加载附加的配置文件的位置 IQFt4{aK3
{o?+T);Z
6}YWM]c%
struts.devMode ^&'&Y>
Whether Struts is in development mode or not 0{/P1
是否为struts开发模式 |(E.Sb
pr2b<(Pm
struts.dispatcher.parametersWorkaround p=Nord
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ubn`w=w$
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3%<Uq%pJ
L,&R0gxi
struts.enable.DynamicMethodInvocation H*DWDJxmV
Allows one to disable dynamic method invocation from the URL ,haCZH{
允许动态方法调用 tH_e?6]
X`d d"8%
struts.freemarker.manager.classname HeagT(rN'
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K; 7o+Xr
org.apache.struts2.views.freemarker.FreemarkerManager接口名 (LW4z8e#
BTXS+mvl
struts.i18n.encoding JCu3,O!q
The encoding to use for localization messages g.v)qB
国际化信息内码 nwk66o:|
>9o(84AxIH
struts.i18n.reload /qW5M4.w
Whether the localization messages should automatically be reloaded 17Q1Xa
是否国际化信息自动加载 18|i{fE;
;* vVucx
struts.locale zDbjWd
The default locale for the Struts application 1sL#XB$@N
默认的国际化地区信息 6t0!a@t
%-y%Q.;k?
struts.mapper.class %ec9`0^4S
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E\V-<]o
org.apache.struts2.dispatcher.mapper.ActionMapper接口 gWo `i
x~Egax
struts.multipart.maxSize m@hmu}qz-
The maximize size of a multipart request (file upload) Th&*
d;
multipart请求信息的最大尺寸(文件上传用) '/^bO# G:
4~Ptn / g
struts.multipart.parser =)Cqjp
The org.apache.struts2.dispatcher.multipart. ffuV158a&
MultiPartRequest parser implementation for a multipart request (file upload) _c=[P@
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h&3*O[`
Ex'6 WN~kD
%[:\ZwT,-
struts.multipart.saveDir M
<oy
The directory to use for storing uploaded files ({#9gTP2b
设置存储上传文件的目录夹 xkIRI1*!
x.r OP_rs
struts.objectFactory I$K? ,
The com.opensymphony.xwork2.ObjectFactory implementation class &TqY\l
com.opensymphony.xwork2.ObjectFactory接口(spring) $]4>;gTL'
}QszOi\fV1
struts.objectFactory.spring.autoWire @J~n$^ke
Whether Spring should autoWire or not o2
=UUD&
是否自动绑定Spring 'iM;e K
L lmdydC%
struts.objectFactory.spring.useClassCache W+[XNIg5
Whether Spring should use its class cache or not Ca[H<nyj
是否spring应该使用自身的cache >E;-asD
4Gl0h'!(
struts.objectTypeDeterminer EG<YxNX,
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class j)K[A%(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E,I*E{nd9
b[Z5:[@\#
struts.serve.static.browserCache &uwj&-u?
If static content served by the Struts filter should set browser caching header properties or not ~f&lQN'1
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RbUhLcG5
0n25{N
struts.serve.static 0f.rjd
Whether the Struts filter should serve static content or not E|ce[|2
是否struts过滤器应该提供静态内容 fk%yi[
Tu Q@b
struts.tag.altSyntax N=J$+
Whether to use the alterative syntax for the tags or not xjHOrr
OQ
是否可以用替代的语法替代tags I\JJ7/S`t
5!2^|y4r
struts.ui.templateDir *Mf;
The directory containing UI templates oVPtA@
UI templates的目录夹 O j<.3U[C
8+no>%L
struts.ui.theme h_K(8{1
The default UI template theme 49%qBO$R
默认的UI template主题 @SREyqC4
Vvuw gJX
struts.url.http.port Mp:/[%9Fi
The HTTP port used by Struts URLs ?Z-(SC
设置http端口 !xs.[&u8
rixP[`!]x
struts.url.https.port Hl"qLrb4
The HTTPS port used by Struts URLs dmHpF\P5f
设置https端口 |oq27*ix~m
M)Iu'
struts.url.includeParams k!e \O> +
The default includeParams method to generate Struts URLs 2|vArRKt
在url中产生 默认的includeParams >}#h
F+A"-k_\T#
BU[.P]
struts.velocity.configfile BJI}gm2y
The Velocity configuration file path w%=GdA=
velocity配置文件路径 mzufl:-=
*')g}2iB
struts.velocity.contexts c\i`=>%b@
List of Velocity context names #J.v[bOWQ
velocity的context列表 Ha l,%W~e
mQmn &:R
!8q+W`{
struts.velocity.manager.classname l[=7<F
org.apache.struts2.views.velocity.VelocityManager implementation class `UFRv
org.apache.struts2.views.velocity.VelocityManager接口名 ]>R|4K_
yT Pi/=G
struts.velocity.toolboxlocation (are2!Oq
The location of the Velocity toolbox !w['@x.
velocity工具盒的位置 Qq;` 9-&j
struts.xslt.nocache 8'Dp3x^W>
Whether or not XSLT templates should not be cached lWS@<j
是否XSLT模版应该被缓存 c"OBm#