struts2的struts.properties配置文件详解 /eZ UAxq
e -sZ_<GH
struts.action.extension gpo+-NnG
The URL extension to use to determine if the request is meant for a Struts action Ebmd[A&&
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 irg%n
e;IzK]kP
struts.configuration XMt5o&U1
The org.apache.struts2.config.Configuration implementation class !nPwRK>
org.apache.struts2.config.Configuration接口名 EfTuHg$pe
[N$#&4{Je
struts.configuration.files =!@5!
A list of configuration files automatically loaded by Struts gO{XD.s
struts自动加载的一个配置文件列表 >P@JiR<@\n
^o`;C\
struts.configuration.xml.reload *b<
a@
Whether to reload the XML configuration or not .?C-J
是否加载xml配置(true,false) cjTV~(i'4A
.fZ*N/
struts.continuations.package ;cye
'E
The package containing actions that use Rife continuations v61'fQ1Qg!
含有actions的完整连续的package名称 pA
,xDs@37
VR/*h%
struts.custom.i18n.resources >^<%9{
Location of additional localization properties files to load &W'X3!Te
加载附加的国际化属性文件(不包含.properties后缀) 7hg)R
@OC
qB%?t.k7
struts.custom.properties 1:L _qL
Location of additional configuration properties files to load %T OYU(k
加载附加的配置文件的位置 $-tgd<2h
y'5
y
u0Nag=cU
struts.devMode H<hFA(M
Whether Struts is in development mode or not U{^~X_?
是否为struts开发模式 Klw\
jB"?iC.
struts.dispatcher.parametersWorkaround YIb=rR[ $
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3k5C;5
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,-55*Rb i
!|SVRaS
struts.enable.DynamicMethodInvocation 7'pmW,;
Allows one to disable dynamic method invocation from the URL n/>^!S
允许动态方法调用 @k"Q e&BQ
ncF|wz
struts.freemarker.manager.classname ^e<"`e
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Pz=x$aY
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Xup"gYTZQ
"r:i
struts.i18n.encoding y;M}I8W[
The encoding to use for localization messages X4- _l$j
国际化信息内码 XOk0_[
YlF<S49loC
struts.i18n.reload YPq4VX,
Whether the localization messages should automatically be reloaded >?pWbL
是否国际化信息自动加载 BqF%2{
=\t%U5
struts.locale m1](f[$
The default locale for the Struts application st|;]q9?
默认的国际化地区信息 nUgZ]ag=G
9>@@W#TK~
struts.mapper.class J\WUBt-M
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @|N'V"*MT
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z9TUaMhF
Y?1
3_~
K
struts.multipart.maxSize o$S/EZ
The maximize size of a multipart request (file upload) jbDap i<
multipart请求信息的最大尺寸(文件上传用) qHAZ)Tz
51,RbADB
struts.multipart.parser ZQ&A'(tt4
The org.apache.struts2.dispatcher.multipart. %syFHUBw
MultiPartRequest parser implementation for a multipart request (file upload) M9_G
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9;fyC=
7W{xK'|]
3 &aBU[
struts.multipart.saveDir Aqc
Cb[1r
The directory to use for storing uploaded files fmDn1N-bG
设置存储上传文件的目录夹 lur$?_gt
m'L7K K-Y)
struts.objectFactory #_A <C+[
The com.opensymphony.xwork2.ObjectFactory implementation class $r>\y (W
com.opensymphony.xwork2.ObjectFactory接口(spring) lphELPh
u$3wdZ2&m
struts.objectFactory.spring.autoWire 6m=FWw3y
Whether Spring should autoWire or not O%w"bEr)N
是否自动绑定Spring UG]]Vk1d]
<c,/+
lQ^
struts.objectFactory.spring.useClassCache .e^AS~4pl
Whether Spring should use its class cache or not ( %i)A$i6a
是否spring应该使用自身的cache u:6PAVW?
yMJY6$Ct
struts.objectTypeDeterminer GzC=xXON
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R(i2TAaaU
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0%K/gd#S<
c*5y8k
struts.serve.static.browserCache w6B'&
If static content served by the Struts filter should set browser caching header properties or not IQ&