struts2的struts.properties配置文件详解 w8J8III\~
Ss\?SEq
struts.action.extension &k-NDh3
The URL extension to use to determine if the request is meant for a Struts action 7-u'x[=m
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q&?0 ^;r
"^wIoJ6H'
struts.configuration I,)\506
The org.apache.struts2.config.Configuration implementation class MLmaA3
org.apache.struts2.config.Configuration接口名 ^}wF^ _
NZ6:ZzM
struts.configuration.files sdyNJh7Jr
A list of configuration files automatically loaded by Struts u$(ei2f
struts自动加载的一个配置文件列表 ({!H()
j?k|-0
struts.configuration.xml.reload 87eH~&<1
Whether to reload the XML configuration or not h/8p2Mrqi
是否加载xml配置(true,false) VhAJ1[k4!
pQC|_T#u
struts.continuations.package s| Q1;%Tj
The package containing actions that use Rife continuations *n[B Bz
含有actions的完整连续的package名称 c813NHW
<X1lq9 lW
struts.custom.i18n.resources _p'@.P
Location of additional localization properties files to load -"H0Qafm
加载附加的国际化属性文件(不包含.properties后缀) 19!;0fe=
"5sA&^_#_
struts.custom.properties T.-tV[2
Location of additional configuration properties files to load zn_#}}e;G
加载附加的配置文件的位置 7-~)/7L
IA]wO%c
Hr!$mf)h
struts.devMode -Wh 2hWg+
Whether Struts is in development mode or not {9x>@p/
是否为struts开发模式 ;fN^MW@&[
?d{O'&|:
struts.dispatcher.parametersWorkaround #5'@at'1
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hdSP#Y'-
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qfxEo76'
L%QRWhB
struts.enable.DynamicMethodInvocation &?Q^i">cZ
Allows one to disable dynamic method invocation from the URL 6 v~nEw
允许动态方法调用 "zCT S
tLq]#9kL
struts.freemarker.manager.classname U[8F{LX
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^&8hhxCPu|
org.apache.struts2.views.freemarker.FreemarkerManager接口名 {~s\a2YH
>kmgYWG
struts.i18n.encoding niW"o-}
The encoding to use for localization messages ;$gV$KB:xA
国际化信息内码 |_-w{2K
o90g;Vog
struts.i18n.reload v&WK9F\
Whether the localization messages should automatically be reloaded M5t.l (
是否国际化信息自动加载 *p#@W-:9E
[^6z>
struts.locale Iwh0PfWJ
The default locale for the Struts application :M f8q!Q'
默认的国际化地区信息 v2p0EOS
n"D` =
struts.mapper.class =NI?Jk*iAq
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1,Mm+_)B
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &/)B d%
UL>2gl4s/
struts.multipart.maxSize ~/z%yg
The maximize size of a multipart request (file upload) ~w|h;*Bj
multipart请求信息的最大尺寸(文件上传用) 'gg<)Bd
g`fMHU7
struts.multipart.parser i^ |G
The org.apache.struts2.dispatcher.multipart. :l1-s]
MultiPartRequest parser implementation for a multipart request (file upload) g0}jE%)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {x_cgsn
',t*:GBZCf
ZZTf/s*
struts.multipart.saveDir ]FIIs58IM
The directory to use for storing uploaded files ~K<h~TNP
设置存储上传文件的目录夹 ,r]H+vWS
-38"S;M8
struts.objectFactory )cZHBG.0H
The com.opensymphony.xwork2.ObjectFactory implementation class .>.GQUr
com.opensymphony.xwork2.ObjectFactory接口(spring) #=33TvprR2
G +41D
struts.objectFactory.spring.autoWire bj6Yz,g F
Whether Spring should autoWire or not bGK*1FlH
是否自动绑定Spring k<+Sj
h$
d
ePk}Sn
struts.objectFactory.spring.useClassCache U=69q]
Whether Spring should use its class cache or not B7|%N=S%/
是否spring应该使用自身的cache Hc8He!X*#
dJJq]^|
struts.objectTypeDeterminer L=EkY O%\"
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WG,1%=M@
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^,AE;ZT7
Q@>1z*'I
struts.serve.static.browserCache Iz. h
If static content served by the Struts filter should set browser caching header properties or not cg17e
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d^!k{Qx'
I}0? d
struts.serve.static ?E|=eO"I1
Whether the Struts filter should serve static content or not !X~NL+
是否struts过滤器应该提供静态内容 7iwck.*
?*+U[*M
struts.tag.altSyntax \/;c^!(<
Whether to use the alterative syntax for the tags or not fR'!p: ~
是否可以用替代的语法替代tags bn8maYUZ
fHEIys,{
struts.ui.templateDir z5(5\j]
The directory containing UI templates "c]9Q%
UI templates的目录夹 {k-_+#W"
<#nU 06 fN
struts.ui.theme UIU:^g0
The default UI template theme Qj_)^3`e
默认的UI template主题 x>TIx[x
}5(_gYr
struts.url.http.port I
*sT*;U
The HTTP port used by Struts URLs 8Q<Nl=g>'
设置http端口 R%\3[
-Fn/=
struts.url.https.port '/9j"mIA9$
The HTTPS port used by Struts URLs U:n~S
设置https端口 CLVT5pj='
.S#i/A'x
struts.url.includeParams -Pt E+R[A
The default includeParams method to generate Struts URLs zF[Xem
在url中产生 默认的includeParams eF.nNu
$hcv}<$/
@<pd@Mpf]
struts.velocity.configfile 6'/Zq
The Velocity configuration file path p}1gac_c
velocity配置文件路径 ]?D$n
7qOkv1.}0
struts.velocity.contexts _BerHoQd
List of Velocity context names g |?}a]G
velocity的context列表 %%?}db1n
U,v`md@PX
JmK
)Y# A
struts.velocity.manager.classname iJOG"gI&
org.apache.struts2.views.velocity.VelocityManager implementation class o4EY2
org.apache.struts2.views.velocity.VelocityManager接口名 S|k@D2k=
?&eS }skL
struts.velocity.toolboxlocation 0[%{YmI{W
The location of the Velocity toolbox ||pOiR5
velocity工具盒的位置 W$SV+q(rT
struts.xslt.nocache OEjX(F3=
Whether or not XSLT templates should not be cached #@`c7SR
是否XSLT模版应该被缓存 Ea<\a1Tl43