struts2的struts.properties配置文件详解 *{D:1S
H?/cG_^y0
struts.action.extension 7]HIE]#
The URL extension to use to determine if the request is meant for a Struts action 6Kv}2M')+
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "`1of8$X7
e&a[k
struts.configuration \SH D
The org.apache.struts2.config.Configuration implementation class Spr:K,
org.apache.struts2.config.Configuration接口名 exrt|A]_[
)1tnZ=&
struts.configuration.files 3K'o&>}L
A list of configuration files automatically loaded by Struts me}Gb a
struts自动加载的一个配置文件列表 C{I8Pio{b
,*}g
r
struts.configuration.xml.reload ;HLMU36q
Whether to reload the XML configuration or not <J_,9&\J
是否加载xml配置(true,false) 77=y!SDP
C6=;(=?C
struts.continuations.package 'm p{O
The package containing actions that use Rife continuations .5Z@5g`
含有actions的完整连续的package名称 3vGaT4TDx
U*+!w@
.
struts.custom.i18n.resources |@bNd7=2d
Location of additional localization properties files to load Z@aL"@2]a
加载附加的国际化属性文件(不包含.properties后缀) RxDxLU2kt
mLxwJ
struts.custom.properties r@@eC['
Location of additional configuration properties files to load %[bO\,
加载附加的配置文件的位置 }zfLm`vJ
yOCcp+`T}
J/&*OC
struts.devMode pfn#~gC_=
Whether Struts is in development mode or not =x.v*W]F`
是否为struts开发模式 ([XyW{=h!
0|+hm^'_
struts.dispatcher.parametersWorkaround :M?')
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !&:W1Jkp(
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OXCml(>{
4;~lpty
struts.enable.DynamicMethodInvocation 2.L6]^N p(
Allows one to disable dynamic method invocation from the URL dgqJ=+z 0y
允许动态方法调用 ^9V8 M9
*p5T
struts.freemarker.manager.classname h'q0eqYeu)
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _R<V8g1f
org.apache.struts2.views.freemarker.FreemarkerManager接口名 uc (yos
`::(jW.KO
struts.i18n.encoding UeiJhH,u
The encoding to use for localization messages wbF1>{/"
国际化信息内码 DBh/V#* D
&T/9yW[L
struts.i18n.reload -0J<R;cVs
Whether the localization messages should automatically be reloaded j]F3[gpc
是否国际化信息自动加载 E?5B>Jer#
Q_|S^hxQ
struts.locale uM!r|X)8
The default locale for the Struts application f!kdcr=/"
默认的国际化地区信息 iqKfMoy5
Wes"t}[25
struts.mapper.class ZYt"=\_
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class DBrzw+;e3
org.apache.struts2.dispatcher.mapper.ActionMapper接口 B46H@]d#7K
DdZ_2B2
struts.multipart.maxSize Ty`=U>K|
The maximize size of a multipart request (file upload) ~322dG
multipart请求信息的最大尺寸(文件上传用) i@?<]n
%Bu n@
struts.multipart.parser *wZV*)}
The org.apache.struts2.dispatcher.multipart. GN"LU>9|
MultiPartRequest parser implementation for a multipart request (file upload) w
I
7
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,7nb;$]
*E q7r>[
3K]0sr
struts.multipart.saveDir WD`{kqc
The directory to use for storing uploaded files GM5 6xZ!2T
设置存储上传文件的目录夹 Jy[8,X
F"? *@L
struts.objectFactory ?BZ`mrH^
The com.opensymphony.xwork2.ObjectFactory implementation class ?U[nYp}"v
com.opensymphony.xwork2.ObjectFactory接口(spring) $W]guG
48*pKbbM4
struts.objectFactory.spring.autoWire QL!+.y%
Whether Spring should autoWire or not ;xC~{O
是否自动绑定Spring HQj4h]O#
/faP]J)
struts.objectFactory.spring.useClassCache :v ~q
Whether Spring should use its class cache or not ~l(tl[
是否spring应该使用自身的cache B9Tztg
\B+SzW
struts.objectTypeDeterminer `fh_8%m]*
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gM[
J'DMW
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g5N<B+?!i
(w
struts.serve.static.browserCache ,colGth54
If static content served by the Struts filter should set browser caching header properties or not KvOI)"0(
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f;dU72]q+
H LGy"P
struts.serve.static P[K
T
Whether the Struts filter should serve static content or not tce8*:rNH
是否struts过滤器应该提供静态内容 mK/P4]9g
&jd<rs5}
struts.tag.altSyntax nM}`H'0
Whether to use the alterative syntax for the tags or not $6%;mep
是否可以用替代的语法替代tags 9rc
n*sm
^moIMFl
struts.ui.templateDir Gl:T
The directory containing UI templates _jKVA6_E
UI templates的目录夹 rZ4<*Zegv
T1[ZrY'0
struts.ui.theme >x0lSL0y
The default UI template theme 7}85o
J
默认的UI template主题 ai9,4
*%+buHe
struts.url.http.port 3`8xh9O
The HTTP port used by Struts URLs $ !=:ES
设置http端口 [<$d@}O
8uW:_t]q
struts.url.https.port PX/0 jv
The HTTPS port used by Struts URLs ?2>v5p
设置https端口 Tz~ftf
OEi9
)I
struts.url.includeParams Qj[O$L0 $
The default includeParams method to generate Struts URLs 4'|:SyOm
在url中产生 默认的includeParams 5W-M8dc6
;itg>\p3
rmJ847%y`
struts.velocity.configfile <Wq{ V;$
The Velocity configuration file path a$&6a
velocity配置文件路径 o:*iT=l
ixpG[8s
struts.velocity.contexts mSeNM
List of Velocity context names '~a$f;: Dv
velocity的context列表 2 ZXF_ o
h%e!f#
IV*$U7~
struts.velocity.manager.classname b;ZAz
org.apache.struts2.views.velocity.VelocityManager implementation class iP_Xr~w
org.apache.struts2.views.velocity.VelocityManager接口名 ^<+heX
^Z+D7Q
struts.velocity.toolboxlocation >1zzDd_
The location of the Velocity toolbox
p$ v +L
velocity工具盒的位置 z*1K<w8
struts.xslt.nocache uS,$P34^oy
Whether or not XSLT templates should not be cached fdW={}~
是否XSLT模版应该被缓存 bd}SB -D