struts2的struts.properties配置文件详解 }bHpFe
KDhHp^IXQ
struts.action.extension ;gc2vDMv
The URL extension to use to determine if the request is meant for a Struts action o
ZAjta_4
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +n:#Uf)
M}c_KFMV
struts.configuration o{
(v
The org.apache.struts2.config.Configuration implementation class d.
a> (G
org.apache.struts2.config.Configuration接口名 WULj@ds\~
vhg4E80Kr
struts.configuration.files /Iskjcc60W
A list of configuration files automatically loaded by Struts QdRMp
n}q
struts自动加载的一个配置文件列表 JDP#tA3
JWBWa-
struts.configuration.xml.reload s?2;u p*D
Whether to reload the XML configuration or not Ky DBCCOv
是否加载xml配置(true,false) R0|X;3
FYj3!
H
struts.continuations.package *be+x RY
The package containing actions that use Rife continuations ug{F?LW[
含有actions的完整连续的package名称 2c~^|@
ux }DWrR
struts.custom.i18n.resources dlU=k9N-
Location of additional localization properties files to load UX0tI0.tg
加载附加的国际化属性文件(不包含.properties后缀) *iR`mZb
gK>Vm9rO
struts.custom.properties /x-t-}
Location of additional configuration properties files to load pif8/e
加载附加的配置文件的位置 <HD/&4$[
K{iYp4pU
<(iOzn
struts.devMode q&M;rIo?
Whether Struts is in development mode or not MqpoS
是否为struts开发模式 Nr)(&c8
1Zecl);O{
struts.dispatcher.parametersWorkaround A#i-C+"}
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,Q:dAe[ZsX
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @@$
_TaI
EZHEJW'JnE
struts.enable.DynamicMethodInvocation =FKB)#N
Allows one to disable dynamic method invocation from the URL (u_sz
允许动态方法调用 )CB?gW
u-W=~EO5#
struts.freemarker.manager.classname zb4g\H
0
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class eyM3W}[S$/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 h~1QmEat
9W8Dp?:
struts.i18n.encoding &><`?
The encoding to use for localization messages fx|9*|E
国际化信息内码 4S=lO?\"A
iaC$K@a{
struts.i18n.reload }a`LOBne
Whether the localization messages should automatically be reloaded [brrziZ
是否国际化信息自动加载 @!S$gTz
qvscf_%FM
struts.locale '=2t(@aC
The default locale for the Struts application N.<hZ\].=
默认的国际化地区信息 r~;N(CG
cnsGP*w
struts.mapper.class WS(c0c
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &zT~3>2
org.apache.struts2.dispatcher.mapper.ActionMapper接口 hi=U
?( '%QfT
struts.multipart.maxSize 7-LeJRB
The maximize size of a multipart request (file upload) Ac54VN
multipart请求信息的最大尺寸(文件上传用) Pv'x|p*
l ghzd6
struts.multipart.parser ; YRZg|Zw
The org.apache.struts2.dispatcher.multipart. 83h3C EQ
MultiPartRequest parser implementation for a multipart request (file upload) v+OVZDf
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0QpWt
Z/x1?{z
yx-"YV}5
struts.multipart.saveDir ,>^~u
The directory to use for storing uploaded files ]]7T5'.
设置存储上传文件的目录夹 7%'<}u
0jmlsC>
struts.objectFactory ?m!FM:%
The com.opensymphony.xwork2.ObjectFactory implementation class M]'AA
Uo8
com.opensymphony.xwork2.ObjectFactory接口(spring) ieI-_]|[
H~@h
#6
struts.objectFactory.spring.autoWire YszhoHYh
Whether Spring should autoWire or not 26**tB<
是否自动绑定Spring &td#m"wI
Gl:ASPZ6
struts.objectFactory.spring.useClassCache OTm`i>rB
Whether Spring should use its class cache or not r3kI'I|bq
是否spring应该使用自身的cache cwroG#jGT
%Xl@o
struts.objectTypeDeterminer 7Av]f3Zr
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class lO
*Hv9#
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4L0LT>'M\
:uEp7Y4
struts.serve.static.browserCache m"DMa
If static content served by the Struts filter should set browser caching header properties or not wnX6XyUH
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *O;N"jf
Nm~#$orI|
struts.serve.static *}J_STM
Whether the Struts filter should serve static content or not ka*UyW}
是否struts过滤器应该提供静态内容 yV. P.Q
".\(A f2
struts.tag.altSyntax #cs!`Ngb+
Whether to use the alterative syntax for the tags or not HL?pnT09
是否可以用替代的语法替代tags YV
msWuF
vEsSqzc
struts.ui.templateDir \9p;md`
The directory containing UI templates 6yb<4@LOb
UI templates的目录夹 -AE/,@ \P
<'-me09C*
struts.ui.theme FuKNH~MevQ
The default UI template theme _X[c19q
默认的UI template主题 J\V(MN,
[OcD#~drO
struts.url.http.port hG^23FiN
The HTTP port used by Struts URLs ,zFN3NLtA
设置http端口 [xPE?OD
)N<!3yOz
struts.url.https.port >U)O@W)
The HTTPS port used by Struts URLs J[l K
设置https端口 N;Hv B:c
*"ShE=\p
struts.url.includeParams 0u_'(Z-^2
The default includeParams method to generate Struts URLs gUp0RPs
在url中产生 默认的includeParams To`?<]8
'UxA8i(
{@A2jk\
struts.velocity.configfile Oq5k4
The Velocity configuration file path 5 %Gf?LyO
velocity配置文件路径 v,0D GR~
pB./L&h
struts.velocity.contexts i`qh|w/b_
List of Velocity context names =S,<yQJ
velocity的context列表 9o`3g@6z
7 SZR#L
.Dm{mV@*T
struts.velocity.manager.classname 5*$Zfuf
org.apache.struts2.views.velocity.VelocityManager implementation class 9x!y.gx
org.apache.struts2.views.velocity.VelocityManager接口名 %u}sVRJ
v knFtpx
struts.velocity.toolboxlocation Vd4osBu{fY
The location of the Velocity toolbox OxZ:5ps
velocity工具盒的位置 qE}YVKV*
struts.xslt.nocache L nGSYrx1
Whether or not XSLT templates should not be cached /`> P|J
是否XSLT模版应该被缓存 sXxO{aeev