struts2的struts.properties配置文件详解 ?:w1je7
7U"[Gf
struts.action.extension YX`7Hm,
The URL extension to use to determine if the request is meant for a Struts action P{u0ftyX}
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U*3uq7
5< ja3
struts.configuration zL\OB?)5J
The org.apache.struts2.config.Configuration implementation class *6} N =Z
org.apache.struts2.config.Configuration接口名 hcyM6:}
/c,(8{(O
struts.configuration.files lg(bDKm
A list of configuration files automatically loaded by Struts *k19LI.5
struts自动加载的一个配置文件列表 hXA6D)
]8T!qS(UJd
struts.configuration.xml.reload sVl-N&/
Whether to reload the XML configuration or not VZ\B<i
是否加载xml配置(true,false) A,`8#-AX
VqS#waNrx
struts.continuations.package kcQ'$<Mz<
The package containing actions that use Rife continuations FXs*vg`
含有actions的完整连续的package名称 4n4?4BEn
hiUD]5Kp
struts.custom.i18n.resources 0@EwM
Location of additional localization properties files to load qM.bF&&Go
加载附加的国际化属性文件(不包含.properties后缀) %DdJ ^qHI
v{A
KEX*
struts.custom.properties eGX%KT"O
Location of additional configuration properties files to load .j-IX1Sa
加载附加的配置文件的位置 {6}eN|4~#
?]x|Zy
k2AJXw
struts.devMode U{VCZ*0cj
Whether Struts is in development mode or not e/^=U7:io
是否为struts开发模式 #es9d3~\
SXy=<%ed
struts.dispatcher.parametersWorkaround v.]Q$q^
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'z$Q rFW
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Jm42b4
bP^Je&nS*
struts.enable.DynamicMethodInvocation NM06QzE
Allows one to disable dynamic method invocation from the URL ZfB"
E
允许动态方法调用 YJo["Q
E>}4$q[r
struts.freemarker.manager.classname X_7UJ
jFw"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~}+Hgi
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Dre]AsgiV
YiPoYlD*n<
struts.i18n.encoding m o:D9
The encoding to use for localization messages Uy$)%dYfq5
国际化信息内码 p1|f<SF')
o9H^?Rut
struts.i18n.reload nG;8:f`
Whether the localization messages should automatically be reloaded xQ@^$_
是否国际化信息自动加载 |JVk&8
?8
FD8N"p
struts.locale 1u6^z
The default locale for the Struts application }5(Ho$S(
默认的国际化地区信息 ka3u&3"
vo#UtN:q
struts.mapper.class +mp@b942*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <-u8~N@43W
org.apache.struts2.dispatcher.mapper.ActionMapper接口 /;utcc
a(0*um(
struts.multipart.maxSize smry2*g
The maximize size of a multipart request (file upload) TEaJG9RU>v
multipart请求信息的最大尺寸(文件上传用) uNHF'?X
R>(@ZM&
struts.multipart.parser 1Y]TA3:
The org.apache.struts2.dispatcher.multipart. J52
o
g4l
MultiPartRequest parser implementation for a multipart request (file upload)
0gfA#|'
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7=DjI ~
Yk5}`d!:
48*Do}l]
struts.multipart.saveDir u6bXv(
The directory to use for storing uploaded files o!!yd8~*r
设置存储上传文件的目录夹 0eS)&GdR
pb=cBZ$
struts.objectFactory 7__Q1>o
The com.opensymphony.xwork2.ObjectFactory implementation class 4'LB7}WG
com.opensymphony.xwork2.ObjectFactory接口(spring) mD/MJt5
7Ddaf>
struts.objectFactory.spring.autoWire FGh]S-A
Whether Spring should autoWire or not H
`(exa:w
是否自动绑定Spring $O dCL
gR}35:$Z-
struts.objectFactory.spring.useClassCache 1)[]x9]^q'
Whether Spring should use its class cache or not G3{=@Z1
是否spring应该使用自身的cache 1rDqa(7
Y14W?|KOB
struts.objectTypeDeterminer 57g</p
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (bh95X
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pf_mf.
T.qNCJmB
struts.serve.static.browserCache LK@lpkX
If static content served by the Struts filter should set browser caching header properties or not Jyqc2IH
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4X*>H
m:/wG&
!
struts.serve.static ME=/|.}D<
Whether the Struts filter should serve static content or not Vl2XDkhq
是否struts过滤器应该提供静态内容 )uqA(R>
F<(i.o(
struts.tag.altSyntax Z%x\~)~
Whether to use the alterative syntax for the tags or not ]hbyELs
是否可以用替代的语法替代tags ._+J_ts
-G|G_$9
struts.ui.templateDir /0eYMG+K=
The directory containing UI templates rQaxr!
UI templates的目录夹 W[}s o6
&CG*)bE
struts.ui.theme vVgg0Y2
The default UI template theme e@ \p0(
默认的UI template主题 QurW/a
ZPD[5)~
struts.url.http.port Cj?L@%"
The HTTP port used by Struts URLs RJ$7XCY%`*
设置http端口 FSRj4e1y1
Kk{<@v)
struts.url.https.port uSR~@Lj ~
The HTTPS port used by Struts URLs NoJ`6MB
设置https端口 I'@Ydt2
Q(\4]i< S
struts.url.includeParams IEcf
The default includeParams method to generate Struts URLs edK|NOOZ
在url中产生 默认的includeParams B.L]Rk\4
b? j< BvQ
U2%.S&wS,e
struts.velocity.configfile "5,
The Velocity configuration file path dzkw$m^@^
velocity配置文件路径 0]jA<vLR
t2r?N}"P
struts.velocity.contexts PClMQL#
List of Velocity context names Zt3)]sB
velocity的context列表 &RTX6%'KY
z1Ov|Q`
~D |5u\D-
struts.velocity.manager.classname +EAT:,
org.apache.struts2.views.velocity.VelocityManager implementation class t&(PN%icD
org.apache.struts2.views.velocity.VelocityManager接口名 gy;+_'.j
:Pv*,qHE
struts.velocity.toolboxlocation +d%L\^?F
The location of the Velocity toolbox ]7Z{ 8)T
velocity工具盒的位置 H`geS
struts.xslt.nocache >|Cw\^
Whether or not XSLT templates should not be cached R+7oRXsu
是否XSLT模版应该被缓存 yZWoN&