struts2的struts.properties配置文件详解 wg<DV!GZ
\6T&gX
struts.action.extension b=wc-nA
The URL extension to use to determine if the request is meant for a Struts action rMH\;\
I|U
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GW]Ygf1t
TC<_I0jCh
struts.configuration y7u"a)T
The org.apache.struts2.config.Configuration implementation class
=BMON{K
org.apache.struts2.config.Configuration接口名 2Vr F~+
A]WU*GL2H
struts.configuration.files Zyu4!
A list of configuration files automatically loaded by Struts :;#^h]Q
struts自动加载的一个配置文件列表 KWLI7fTgj$
Pn[-{nz
struts.configuration.xml.reload T5=3 jPQ
Whether to reload the XML configuration or not @v2_gjRe
是否加载xml配置(true,false) X<OwB -N
lOCMKaCD
struts.continuations.package `&LPqb
The package containing actions that use Rife continuations l <Tkg9
含有actions的完整连续的package名称 =d!3_IZ
^GD"aerNr
struts.custom.i18n.resources O8wR#(/
Location of additional localization properties files to load V) a<)
加载附加的国际化属性文件(不包含.properties后缀) :tl*>d~
lSPQXu*[
struts.custom.properties [GyW1-p33w
Location of additional configuration properties files to load -S"YEH9
加载附加的配置文件的位置 ,_!pUal
yrSmI)&%
Q=)$
struts.devMode ey _3ah3x
Whether Struts is in development mode or not ,ZHIXylZ
是否为struts开发模式 QgqR93Ic
dAh&Z:86\
struts.dispatcher.parametersWorkaround `k+ci7;
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `1=n H/E
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) H!y1&
C?fd.2#U
struts.enable.DynamicMethodInvocation [6`8^-}?
Allows one to disable dynamic method invocation from the URL @>}!g9c
允许动态方法调用 CCNrjaA
3,8<5)ds*
struts.freemarker.manager.classname ]]Sz|6 P
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %?Yf!)owh
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,,sKPj[
6U Q~Fv`]
struts.i18n.encoding 4QARrG%
The encoding to use for localization messages M2W4 RovfR
国际化信息内码 z\]]d?d?;
_ho9}7 >
struts.i18n.reload :XC~G&HuF6
Whether the localization messages should automatically be reloaded 9. 6"C<eYt
是否国际化信息自动加载 p[2`H$A
C< 3`]l
struts.locale 93Kd7x-3
The default locale for the Struts application ><V<}&:y$(
默认的国际化地区信息 $M5iU@A
?1T)cd*
struts.mapper.class j^;f {0f
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class oCg|*
c|+
org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y``50{7
xAbx.\
struts.multipart.maxSize 1YV ;pEw3w
The maximize size of a multipart request (file upload)
e{EKM4
multipart请求信息的最大尺寸(文件上传用) wj!YYBH
A=JPmsj.
struts.multipart.parser lD)ZMaaS3
The org.apache.struts2.dispatcher.multipart. Hb55RilC
MultiPartRequest parser implementation for a multipart request (file upload) % CV@FdB
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4
3V{q
& Xm!i(i
>o9tlO)
struts.multipart.saveDir mE=%+:o.
The directory to use for storing uploaded files L1ro\ H
设置存储上传文件的目录夹 \f\CK@
o-a\T
struts.objectFactory ^ >JAl<k
The com.opensymphony.xwork2.ObjectFactory implementation class 8JYU1Ew
com.opensymphony.xwork2.ObjectFactory接口(spring) :d}I`)&
.;}vp*
struts.objectFactory.spring.autoWire UCV1 {
Whether Spring should autoWire or not !k@(}CN_*
是否自动绑定Spring GVR/p
3V=wW{;x
struts.objectFactory.spring.useClassCache ]s_,;PG U
Whether Spring should use its class cache or not iga.B
是否spring应该使用自身的cache bca4'`3\|
$$F iCMI
struts.objectTypeDeterminer /|Z_Dy
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i]x_W@h
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;O8'vp
xs,,)jF(u
struts.serve.static.browserCache CoZOKRoaH
If static content served by the Struts filter should set browser caching header properties or not ^% ZbjJ7|j
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IJ\4S
q> |&u
struts.serve.static "QSmxr
Whether the Struts filter should serve static content or not o|`[X'
是否struts过滤器应该提供静态内容 g?B4b7II
B0E`C
struts.tag.altSyntax c(Ws3
Whether to use the alterative syntax for the tags or not ?,
B4
是否可以用替代的语法替代tags OD[q
u
3Gi^TXE]
struts.ui.templateDir (%~^Kmfb0
The directory containing UI templates $ /`X7a{
UI templates的目录夹 3fGL(5|_
4N6JKS
struts.ui.theme rDI}X?JmX
The default UI template theme R&.mNji*
默认的UI template主题 fVf
@Ngvu
|2ImitN0
struts.url.http.port ['m7Wry
The HTTP port used by Struts URLs $,u>,
设置http端口 #No3}O;"g
XM1;
>#kz
struts.url.https.port x994B@\j+
The HTTPS port used by Struts URLs .>#X *u
设置https端口
$Mg[e*ct
IC"Z.'Ph
struts.url.includeParams ba-4V8w
The default includeParams method to generate Struts URLs !E7J Dk''@
在url中产生 默认的includeParams U45kA\[bZ
:'`y}'
cl04fqX
struts.velocity.configfile gcF:/@:Rm
The Velocity configuration file path Upw`|$1S
velocity配置文件路径 9]C%2!Ur,
B/O0 ~y!n
struts.velocity.contexts AjVX
List of Velocity context names e dTFk$0
velocity的context列表 iX%9$Bft<
7f] qCZ<0V
+[vIocu
struts.velocity.manager.classname uwl_TDc>%
org.apache.struts2.views.velocity.VelocityManager implementation class
I'`90{I
org.apache.struts2.views.velocity.VelocityManager接口名 t =V| '
Ty<."dyPW
struts.velocity.toolboxlocation unKPqc%q=n
The location of the Velocity toolbox e&nE
velocity工具盒的位置 _mWVZ1P
struts.xslt.nocache ]*?lgwE
Whether or not XSLT templates should not be cached {x{~%)-
是否XSLT模版应该被缓存 7F2 WmMS