struts2的struts.properties配置文件详解 El3Y1g3+3
[PVem
struts.action.extension XH9Y|FX%#
The URL extension to use to determine if the request is meant for a Struts action :bJT2o[
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;?-A4!V,
QWqEe|}6
struts.configuration Q8]lz}
The org.apache.struts2.config.Configuration implementation class $)UMRG
org.apache.struts2.config.Configuration接口名 /oA=6N#j
O=2"t%Gc
struts.configuration.files {0a (R2nB
A list of configuration files automatically loaded by Struts xq#YBi,
struts自动加载的一个配置文件列表 du,mbTQib
uB;\nj5'D
struts.configuration.xml.reload z[zURj-*]
Whether to reload the XML configuration or not
58S >B'
是否加载xml配置(true,false) ]: VR3e"H
mMp(
struts.continuations.package uVnbOqR<X
The package containing actions that use Rife continuations y5" b(nb
含有actions的完整连续的package名称 dD%Sbb
*>m,7} L
struts.custom.i18n.resources TR@*tfS
Location of additional localization properties files to load ;ps0wswX
加载附加的国际化属性文件(不包含.properties后缀) xqP DL9\
jc%
struts.custom.properties J.nJ@?O+
Location of additional configuration properties files to load *{_WM}G
加载附加的配置文件的位置 o75Hit
0?x9.]
x~!gGfP
struts.devMode nT(Lh/
Whether Struts is in development mode or not =6PTT$,
是否为struts开发模式 _J|cJ %F>%
CN7
2 E
struts.dispatcher.parametersWorkaround KwEyMR!
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hFLD2<
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7iI6._"!w
jv8diQ.
struts.enable.DynamicMethodInvocation Y~FN`=O
Allows one to disable dynamic method invocation from the URL d7g3VF<j
允许动态方法调用 GJpQcse%
uT")j,tz
struts.freemarker.manager.classname #0;H'GO?c
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class +(a}S$C
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Sbf+;:D
UEm~5,>$0
struts.i18n.encoding -w>2!@8
The encoding to use for localization messages ;M)l7f
国际化信息内码 vKX6@eg"
VLLE0W _]
struts.i18n.reload Z@Tb3N/[
Whether the localization messages should automatically be reloaded p#k>BHgnF
是否国际化信息自动加载 ';HNQe?vT
k15fy"+Ut
struts.locale hv]}b'M$
The default locale for the Struts application orT%lHwjL
默认的国际化地区信息 WF'Di4
l_?r#Qc7
struts.mapper.class 0!Zp4>l\Z
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WTlR>|Zdn
org.apache.struts2.dispatcher.mapper.ActionMapper接口 **RW
9FU
bcVzl]9
struts.multipart.maxSize 71g\fGG\
The maximize size of a multipart request (file upload) <1^\,cI2
multipart请求信息的最大尺寸(文件上传用) ;+86q"&n
f( %r)%
struts.multipart.parser *x0nAo_n
The org.apache.struts2.dispatcher.multipart. s":\>
MultiPartRequest parser implementation for a multipart request (file upload) MQ~OG9.
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) } `X.^}oe
,McwPHEMB
c8R#=^ DD
struts.multipart.saveDir 0$saDmED
The directory to use for storing uploaded files }DCR(p rD
设置存储上传文件的目录夹 $e99[y@
m VSaC
struts.objectFactory Or({|S9d2
The com.opensymphony.xwork2.ObjectFactory implementation class V~9vf*X
com.opensymphony.xwork2.ObjectFactory接口(spring) @bkZ< Gq
/o/0 9K
struts.objectFactory.spring.autoWire ">-mZ'$#L
Whether Spring should autoWire or not :J
7p=sX
是否自动绑定Spring Zze(Ik
<Z0N)0|
struts.objectFactory.spring.useClassCache a>_Cxsb&`
Whether Spring should use its class cache or not =|Q7k +b
是否spring应该使用自身的cache q? 9x0L
834E
]2
struts.objectTypeDeterminer Xa=M{x
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K3CTxU(
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?zS
t
G$P|F6
struts.serve.static.browserCache nVSuvq|S
If static content served by the Struts filter should set browser caching header properties or not xJ0Q8A
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;z>?-
j
|=\w b^l+
struts.serve.static oo+nqc`,O
Whether the Struts filter should serve static content or not ZysZS%
是否struts过滤器应该提供静态内容 H@j
D%
W-72&\7
struts.tag.altSyntax iC$mb~G
Whether to use the alterative syntax for the tags or not r+#! ]wNPe
是否可以用替代的语法替代tags Vm3e6Y,K
c:$W5j('Z
struts.ui.templateDir WNE=|z#|
The directory containing UI templates \[!k`6#t7
UI templates的目录夹 <`rl[C{
r )pg9}+
struts.ui.theme xs'vd:l.Pp
The default UI template theme N:_U2[V^d
默认的UI template主题 !yfQ^a_O
c)7i%RF'
struts.url.http.port 7aV(tMzd
The HTTP port used by Struts URLs Os9;;^k
设置http端口 D>HX1LV
7yp}*b{s
struts.url.https.port e>GX]tK
The HTTPS port used by Struts URLs QcXqMx
设置https端口 ,hggmzA~
Sz"rp9x+
struts.url.includeParams f0<'IgN
The default includeParams method to generate Struts URLs x|TLMu=3=
在url中产生 默认的includeParams qh40nqS;9
fw[Z7`\Q5
`.0WK
struts.velocity.configfile Em(&cra
The Velocity configuration file path >f !
velocity配置文件路径 -0tHc=\u(
b }^ylm
struts.velocity.contexts "b#L8kN
List of Velocity context names ne~=^IRB
velocity的context列表 B\tP{}P8{
xDJs0P4
SF7p/gG
struts.velocity.manager.classname @Yl&Jg2l'
org.apache.struts2.views.velocity.VelocityManager implementation class m$w'`[H
org.apache.struts2.views.velocity.VelocityManager接口名 fD1a)Az
Z^fkv
struts.velocity.toolboxlocation ~boTh
The location of the Velocity toolbox aYmC LLj
velocity工具盒的位置 *h H\H
struts.xslt.nocache +VN&kCx)
Whether or not XSLT templates should not be cached 4ox[,
是否XSLT模版应该被缓存 &B;M.sz~C4