struts2的struts.properties配置文件详解 J0bcW25
)/!HI0TU
struts.action.extension q@S\R
7R
The URL extension to use to determine if the request is meant for a Struts action Vq#0MY)2gS
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a"4X7
D+
21<Sfsc$
struts.configuration $[HCetaqV
The org.apache.struts2.config.Configuration implementation class xv>8rW(Np5
org.apache.struts2.config.Configuration接口名 1:7fV@jw
ZX-A}
struts.configuration.files {gEz;:!):
A list of configuration files automatically loaded by Struts ' p!&&.%
struts自动加载的一个配置文件列表 WUYU\J&q3
o4a@{nt^,
struts.configuration.xml.reload '"%hX&]5
Whether to reload the XML configuration or not 3LQu+EsS
是否加载xml配置(true,false) =j w?*
[KGj70|~
struts.continuations.package ?Nt m5(R
The package containing actions that use Rife continuations oP7)
含有actions的完整连续的package名称 Z
*tHZ7b
sjLm-pn3
struts.custom.i18n.resources `v(!IBP|
Location of additional localization properties files to load :zIB3nT^
加载附加的国际化属性文件(不包含.properties后缀) m bhh
|w~*p
N0
struts.custom.properties (:H4
Location of additional configuration properties files to load M?sTz@tqq
加载附加的配置文件的位置 .pxUO3g
FS)C<T]t
8rBa}v9
struts.devMode &-IkM%_A9
Whether Struts is in development mode or not NU.4_cixb
是否为struts开发模式 rx#GrV*y
o@$pyU8
struts.dispatcher.parametersWorkaround I+Qt5Ox
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aY,'^S
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @GweNo`p7
hE\gXb
struts.enable.DynamicMethodInvocation >;M STHeW
Allows one to disable dynamic method invocation from the URL bjwl21;{
允许动态方法调用 ]~3a ~
;&w_.j*Is
struts.freemarker.manager.classname n[a%*i6x
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hG<W*g
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^8ilUu
=`MQKh,
struts.i18n.encoding |gk"~D
The encoding to use for localization messages LDo~
国际化信息内码 )ARV>(
FgP{
struts.i18n.reload +*qTZIXj
Whether the localization messages should automatically be reloaded Y,4?>:39J
是否国际化信息自动加载 r;waT@&C
{A MAQ
struts.locale A$zC$9{0I
The default locale for the Struts application ?5 6;<%0
默认的国际化地区信息 s<C66z
p)Ht =~
struts.mapper.class Ba%b]vp
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y!u">M#@
org.apache.struts2.dispatcher.mapper.ActionMapper接口 dqt}:^L*0g
.zW.IM}Z
struts.multipart.maxSize >6(e6/C-9
The maximize size of a multipart request (file upload) \Z/0i|
multipart请求信息的最大尺寸(文件上传用) {oo(HD;5
}&Xf<6
struts.multipart.parser IQ~EL';<w
The org.apache.struts2.dispatcher.multipart. Hb$wawy<
MultiPartRequest parser implementation for a multipart request (file upload) J
rYL8 1
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cKwmtmwB
nl-tJ.MU"
L6=5]?B=
struts.multipart.saveDir d\ 7OtM
The directory to use for storing uploaded files ` gor
设置存储上传文件的目录夹 uF*tlaV6
:G<~x8]k0
struts.objectFactory gHvkr?Cg
The com.opensymphony.xwork2.ObjectFactory implementation class wD pL9 q
com.opensymphony.xwork2.ObjectFactory接口(spring) lz#@_F|.*
NQbgk+&wD
struts.objectFactory.spring.autoWire
Es:oXA
Whether Spring should autoWire or not EF6"PH+J@
是否自动绑定Spring mFC9\
@G>&Gu;5
struts.objectFactory.spring.useClassCache Oh1a'&
Whether Spring should use its class cache or not i@YM{FycX
是否spring应该使用自身的cache &xFs0Ri(
OBM&N
struts.objectTypeDeterminer cbx(
L8
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y
0fI7:e3
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <5c^DA
M1Th~W9l
struts.serve.static.browserCache {`% q0Nr
If static content served by the Struts filter should set browser caching header properties or not y2x)<.cDP
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _cc9+o
wqQrby<
struts.serve.static rY=dNK]d
Whether the Struts filter should serve static content or not \z-OJ1[F
是否struts过滤器应该提供静态内容 R|7_iMIZ
]<o^Q[OL
struts.tag.altSyntax d+7Dy3i|g=
Whether to use the alterative syntax for the tags or not PrEfJ?
是否可以用替代的语法替代tags sGbk4g
tjDCfJx*
struts.ui.templateDir w}(Ht_6q{
The directory containing UI templates }~NWOJ3;
UI templates的目录夹
{0} Q5
R8u9tTW
struts.ui.theme B}h8c
The default UI template theme J#k.!]r,Y
默认的UI template主题 S\118TpD
<:0d%YB)
struts.url.http.port lz0'E'%{P
The HTTP port used by Struts URLs EK^["_*A
设置http端口 0\Myhh~DLE
N07FU\<9
struts.url.https.port J*f..:m
The HTTPS port used by Struts URLs v<S?"#
]F=
设置https端口 +JBYGYN&K
b@N*W]
struts.url.includeParams bdyE9t
The default includeParams method to generate Struts URLs (qy82F-|2
在url中产生 默认的includeParams jE, oEt O;
.Aa(
0o&c8?@j
struts.velocity.configfile - z"D_5
The Velocity configuration file path l*4_
velocity配置文件路径 CEb al\R
P*8DM3':
struts.velocity.contexts )@.6u9 \
List of Velocity context names cvv(OkC
velocity的context列表 IqmQQ_KH
y{uN+QS
vEb_z[gd
struts.velocity.manager.classname \_zp4Xb2
org.apache.struts2.views.velocity.VelocityManager implementation class \}})U#
org.apache.struts2.views.velocity.VelocityManager接口名 vZ2/>}!Z=
4>8'.8S
struts.velocity.toolboxlocation Z^vcODeC$
The location of the Velocity toolbox iN@+,]Yjl
velocity工具盒的位置 JlN<w
struts.xslt.nocache T! fF1cpF\
Whether or not XSLT templates should not be cached gJI(d6
是否XSLT模版应该被缓存 !T8h+3I