struts2的struts.properties配置文件详解 l**X^+=$
/xhKd]Q
struts.action.extension Hka2
The URL extension to use to determine if the request is meant for a Struts action oU8q o-J1H
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]9CFIh
rp$'L7lrX
struts.configuration @C$]//;
The org.apache.struts2.config.Configuration implementation class >7|VR:U?B
org.apache.struts2.config.Configuration接口名 eFgA 8kY)
occ7zcA
struts.configuration.files 4dlGxat
A list of configuration files automatically loaded by Struts TbU#96"~.
struts自动加载的一个配置文件列表 DQ3<$0
TOt dUO
struts.configuration.xml.reload N7"W{"3D
Whether to reload the XML configuration or not Vr}'.\$
是否加载xml配置(true,false) 3`g^
S[gx{Bxiw
struts.continuations.package 5!
{D!
The package containing actions that use Rife continuations 1zv'.uu.,
含有actions的完整连续的package名称 4RO}<$Nx}
e6*8K@LHB
struts.custom.i18n.resources 9*gZ-#
Location of additional localization properties files to load
"jZ-,P=
加载附加的国际化属性文件(不包含.properties后缀) o/E >f_k[
{)XTk&"
struts.custom.properties ?s01@f#
Location of additional configuration properties files to load zX[U~.
加载附加的配置文件的位置 6x`t{g]f,
4(+PD&_J
SUiOJ[5,
struts.devMode D*jM1w_`
Whether Struts is in development mode or not 04ui`-c(
是否为struts开发模式 (.:e,l{U%
p K*TE5]
struts.dispatcher.parametersWorkaround I7onX,U+
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <'u'#E@"sl
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?<!|
ch]IzdD
struts.enable.DynamicMethodInvocation * 4'"2"
Allows one to disable dynamic method invocation from the URL 7CysfBF0g
允许动态方法调用 i!Ba]n
6nn*]|7
struts.freemarker.manager.classname t@(HF-4~=
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4#D,?eA7
org.apache.struts2.views.freemarker.FreemarkerManager接口名 }BEB1Q}L
'1[Ft03
struts.i18n.encoding vM={V$D&
The encoding to use for localization messages Z,gk|M3.
国际化信息内码 VbYdZCC
0GwR~Z}Z
struts.i18n.reload
a?1Wq
Whether the localization messages should automatically be reloaded }MySaL>
是否国际化信息自动加载 W?&%x(6M
g)-te+?6
struts.locale 7V>M]
The default locale for the Struts application [),ige
默认的国际化地区信息
(3e2c
tbr=aY$jY
struts.mapper.class u8^lB7!e/
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WH\d| 1)
org.apache.struts2.dispatcher.mapper.ActionMapper接口 bA 2pbjg=
(FV >m
struts.multipart.maxSize \U0Q<ot/7
The maximize size of a multipart request (file upload) P?<y%c<
multipart请求信息的最大尺寸(文件上传用) 6)J#OKZ
crCJrN=
struts.multipart.parser *8q.YuZ
The org.apache.struts2.dispatcher.multipart. 4-w{BZuS
MultiPartRequest parser implementation for a multipart request (file upload) qs6aB0ln
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {
w_e9W bi
gw(z1L5
n
{g6%(X\r.r
struts.multipart.saveDir al0L&z\
The directory to use for storing uploaded files }Z>)DN=+
设置存储上传文件的目录夹 ~&O%N
k)u[0}
struts.objectFactory IV-{ve6
The com.opensymphony.xwork2.ObjectFactory implementation class U*:!W=XN
com.opensymphony.xwork2.ObjectFactory接口(spring) YIE<pX4Q7)
G3]4A&h9v~
struts.objectFactory.spring.autoWire E^PB)D(.
Whether Spring should autoWire or not a.'*G6~Qgw
是否自动绑定Spring |qLh5Ty
}G=M2V<L
struts.objectFactory.spring.useClassCache e!`i3KYn"
Whether Spring should use its class cache or not C~[,z.FvO
是否spring应该使用自身的cache ^aQ"E9
K,]=6Rj
struts.objectTypeDeterminer V)^+?B)T
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class g`^x@rj`E
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l%ZhA=TKQ
@o^Ww
struts.serve.static.browserCache wBzC5T%,
If static content served by the Struts filter should set browser caching header properties or not l0]
EX>"E
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q\)F;: |
,Q,^3*HX9}
struts.serve.static .pq%?&
Whether the Struts filter should serve static content or not h![#;>(
是否struts过滤器应该提供静态内容 Bt#N4m[X*|
~
1 pr~
struts.tag.altSyntax / xQPTT
Whether to use the alterative syntax for the tags or not *VeRVaBl
是否可以用替代的语法替代tags g>sSS8RO
^.G$Q# y,
struts.ui.templateDir
5IN(|B0
The directory containing UI templates ddo#P%sH'
UI templates的目录夹 23?rEhKe
F/Pep?'
struts.ui.theme :EH=_"
The default UI template theme VX/#1StC
默认的UI template主题 r/sNrB1U"y
9kojLqCT
struts.url.http.port KG@8RtHsQ
The HTTP port used by Struts URLs 9cgUT@a
设置http端口 ;]fs'LH
{)"vN(mX
struts.url.https.port Zov~B-Of:
The HTTPS port used by Struts URLs AEuG v}#
设置https端口 8_tQa^.n\
nie% eC&U
struts.url.includeParams K>9 ()XT)
The default includeParams method to generate Struts URLs Mlq.?-QgIL
在url中产生 默认的includeParams B:QHwzd
H1T.(M/"
\f)#>+X-
struts.velocity.configfile @H<q"-J
The Velocity configuration file path rbQR,Nf2x
velocity配置文件路径 4~=l}H>&
fQ98(+6
struts.velocity.contexts KU;9}!#
List of Velocity context names lLD12d
velocity的context列表 Ewm9\qmg
3~\[7I/
&/b~k3{M_
struts.velocity.manager.classname 5PW^j\G-f
org.apache.struts2.views.velocity.VelocityManager implementation class XlJZhc
org.apache.struts2.views.velocity.VelocityManager接口名 `W-Fssu
ETLD$=iS
struts.velocity.toolboxlocation `lPfb[b
The location of the Velocity toolbox Q,9oKg
velocity工具盒的位置 pNIf=lA
struts.xslt.nocache z] Ue|%K
Whether or not XSLT templates should not be cached l(q ,<[O
是否XSLT模版应该被缓存 C-[1iW'