struts2的struts.properties配置文件详解 e8z?) 4T
*I k/Vu%;
struts.action.extension :G5O_T$
The URL extension to use to determine if the request is meant for a Struts action A3.pz6iT>
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Nfmr5MU_
vJb/.)gh]
struts.configuration gaE8\JSr
The org.apache.struts2.config.Configuration implementation class 4-C'2?
org.apache.struts2.config.Configuration接口名 #smfOGSd
5hDPX\
struts.configuration.files V7
hO}
A list of configuration files automatically loaded by Struts w@a|_?
struts自动加载的一个配置文件列表 OM@z5UP
q3GkfgY
struts.configuration.xml.reload +\>op,_9I
Whether to reload the XML configuration or not ?07}\N0~
是否加载xml配置(true,false) IPt
!gSp
/?}2OCq
struts.continuations.package Lo=n)cV 1,
The package containing actions that use Rife continuations _k(&<1i
含有actions的完整连续的package名称 qGP}
=pnQ?2Og
struts.custom.i18n.resources Qzv&
Location of additional localization properties files to load "#w%sG^_
加载附加的国际化属性文件(不包含.properties后缀) @r\{iSg&g.
[|(=15;
struts.custom.properties ,!P}Y[|
Location of additional configuration properties files to load U/h@Q\~U
加载附加的配置文件的位置 cPg{k}9Tvy
A}_pJH
hOuHTo^
struts.devMode 9H+Q/Q*-a
Whether Struts is in development mode or not 3L{)Y`P
是否为struts开发模式 4"\%/kG
vXG?8Q
struts.dispatcher.parametersWorkaround Hv%$6,/ *v
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ff00s+
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) EIPX q
(,cG+3r]
struts.enable.DynamicMethodInvocation aF>&X-2
Allows one to disable dynamic method invocation from the URL ieXi6^M$
允许动态方法调用 \[ 4y
#RHt;SFx
struts.freemarker.manager.classname -oB=7+g
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1had8K-
org.apache.struts2.views.freemarker.FreemarkerManager接口名 >qd=lm <,
8fPTxvXqL
struts.i18n.encoding i4&V+h"
The encoding to use for localization messages d;{k,rP6
国际化信息内码 x1Z*R+|>2
aS~~*UHW
struts.i18n.reload {$v^2K'C
Whether the localization messages should automatically be reloaded `oM'H+
是否国际化信息自动加载 aP
B4!3W
F6C7k9
struts.locale h67{qY[J[
The default locale for the Struts application dEW= V"W
默认的国际化地区信息 %.HLO.A
J|<C;[du>
struts.mapper.class z:1t
vG
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M4% 3a j
org.apache.struts2.dispatcher.mapper.ActionMapper接口 E0+~c1P-
;^|):x+O
struts.multipart.maxSize t]?{"O1rC
The maximize size of a multipart request (file upload) r`<x@,
multipart请求信息的最大尺寸(文件上传用) 4&v&XLkb
k$pND,Ws
struts.multipart.parser \C4wWh-A
The org.apache.struts2.dispatcher.multipart. ^)C#
MultiPartRequest parser implementation for a multipart request (file upload) ekqS=KfWl;
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) eBY/Y6 R
"bQi+@
zL'S5'<F|
struts.multipart.saveDir WZh_z^rwn
The directory to use for storing uploaded files '`f+QP=`
设置存储上传文件的目录夹
'(g;nU<
ixE w!t
struts.objectFactory -)R
=p"-w
The com.opensymphony.xwork2.ObjectFactory implementation class +wQ}ZP&
com.opensymphony.xwork2.ObjectFactory接口(spring) u7j,Vc'~
^YB2E*
struts.objectFactory.spring.autoWire bW=3X-)
Whether Spring should autoWire or not 0)ZLdF_6
是否自动绑定Spring ]Tg@wMgI
*xY3F8
struts.objectFactory.spring.useClassCache #)]/wqPoW
Whether Spring should use its class cache or not _x^rHADp
是否spring应该使用自身的cache gQJLqs"F
23 #JmR
struts.objectTypeDeterminer VL'wrgk
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PsD)]V9%:
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :"H?phk
}X/YMgJ
struts.serve.static.browserCache Rw FA
If static content served by the Struts filter should set browser caching header properties or not $Sa7N%D
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'hV(1Mw
.w'b%M
struts.serve.static t1yOAbI
Whether the Struts filter should serve static content or not .GL@`7"
是否struts过滤器应该提供静态内容 3d4A~!Iz
=1'WZp}D5
struts.tag.altSyntax e4tC[6 ;
Whether to use the alterative syntax for the tags or not 5FF28C)>/
是否可以用替代的语法替代tags USHQwn)%
v~jm<{={g
struts.ui.templateDir 0CK
The directory containing UI templates 3IB9-wG
UI templates的目录夹 h.KgHMV`
`%"x'B`mM
struts.ui.theme 3la `S$c
The default UI template theme #y[omla8
默认的UI template主题 5`g VziS!S
<W) F{N?
struts.url.http.port o?j8"^!7
The HTTP port used by Struts URLs 9yWf*s<
设置http端口 _\Z'Yl
/e^) *r
struts.url.https.port mH4u@aQ}
The HTTPS port used by Struts URLs 4;r,U{uR
设置https端口 NGkxg:
z8]@Gh+
(
struts.url.includeParams E)f9`][
The default includeParams method to generate Struts URLs pV_zePyOn
在url中产生 默认的includeParams S]~5iO_bst
qu dY9_
VmN 7a6a
struts.velocity.configfile b-#lKWso
The Velocity configuration file path 4
2DMmwB
velocity配置文件路径 CR%h$+dzy
l^B4.1rT
struts.velocity.contexts z,7;+6*=L
List of Velocity context names 0Q?%B6g$m[
velocity的context列表 ZH8 w^}
(C"q-0?n
Kg2Du'WQ^
struts.velocity.manager.classname GKSF(Tnj
org.apache.struts2.views.velocity.VelocityManager implementation class e84%Y8,0
org.apache.struts2.views.velocity.VelocityManager接口名 /x$JY\cq`
NH}o`x/
struts.velocity.toolboxlocation LL)t)
The location of the Velocity toolbox d;wq@e
velocity工具盒的位置 @xa$two
struts.xslt.nocache 3o/f, }_
Whether or not XSLT templates should not be cached zwJ&K;"y(
是否XSLT模版应该被缓存 :yJ([