struts2的struts.properties配置文件详解 W<'m:dq
b]e"1Y)D-
struts.action.extension \P[Y`LYL
The URL extension to use to determine if the request is meant for a Struts action kBS9tKBWg
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q9B$"n
QL(n} {.%
struts.configuration Lw1Yvtn
The org.apache.struts2.config.Configuration implementation class 82+r^t/.
org.apache.struts2.config.Configuration接口名 !M(xG%M-V
6 W/`07'
struts.configuration.files %O;:af"Ja8
A list of configuration files automatically loaded by Struts W" scV@HKu
struts自动加载的一个配置文件列表 EAUEQk?9
YqscZ(L:y
struts.configuration.xml.reload 7P} W
*
Whether to reload the XML configuration or not (&r.w
是否加载xml配置(true,false) Y_liA
ibcRU y0%
struts.continuations.package nkPh,X\N0
The package containing actions that use Rife continuations 9+|$$)
含有actions的完整连续的package名称 3<Lx&p~%T
y
RqL9t
struts.custom.i18n.resources YP oSRA L
Location of additional localization properties files to load i$Ul(?
加载附加的国际化属性文件(不包含.properties后缀) ,~U>'&M;
9X6h
struts.custom.properties ijv(9mR
Location of additional configuration properties files to load &C_j\7Dq
加载附加的配置文件的位置 <)Dj9' _J
<sbu;dQ`
+Ze}B*0
struts.devMode ic:zsuEm
Whether Struts is in development mode or not '@v\{ l
是否为struts开发模式 E_rI?t^
}rUN_.n4z
struts.dispatcher.parametersWorkaround x8 2cT21b
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u,ho7ht3(
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qz_7%c]K[
LENq_@$
struts.enable.DynamicMethodInvocation dFxIF;C>/
Allows one to disable dynamic method invocation from the URL (XTG8W sN
允许动态方法调用 uh0VFL*@
I9A~Ye
5O&
struts.freemarker.manager.classname BKCiIfkZ
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^CYl\.Y@
org.apache.struts2.views.freemarker.FreemarkerManager接口名 g{)dP!}
XX TL..
struts.i18n.encoding a=_g*OK}D
The encoding to use for localization messages Y1\ }5k{>
国际化信息内码 5DU6rks%
"]*&oQCI
struts.i18n.reload n+9=1Oo"
Whether the localization messages should automatically be reloaded ?=msH=N<l
是否国际化信息自动加载 Tk[ $5u*,
xj)F55e?
struts.locale ($MlX BI
The default locale for the Struts application }"H,h)T
默认的国际化地区信息 .hb:s,0mP
hh%-(HaLX3
struts.mapper.class ub0.J#j@
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~vhE|f
org.apache.struts2.dispatcher.mapper.ActionMapper接口 $rBq"u=,0+
s\(k<Ks
struts.multipart.maxSize 1-uxC^u?|#
The maximize size of a multipart request (file upload) k"%~"9
multipart请求信息的最大尺寸(文件上传用) J4C.+![!Ah
(,\+tr8r8
struts.multipart.parser UgSB>V<?
The org.apache.struts2.dispatcher.multipart. H2\;%K 2
MultiPartRequest parser implementation for a multipart request (file upload) W\,s:6iqz
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~W'{p
f}ji?p
#G|RnV%t$~
struts.multipart.saveDir /Iy]DU8
The directory to use for storing uploaded files ]cWUZ{puRB
设置存储上传文件的目录夹 4B1v4g8}
*%NT~C
q
struts.objectFactory P )"m0Lu<
The com.opensymphony.xwork2.ObjectFactory implementation class kCF>nt@
com.opensymphony.xwork2.ObjectFactory接口(spring) [ ({nj`
n
ATuD
struts.objectFactory.spring.autoWire xh,qNnGGi
Whether Spring should autoWire or not /{l$sBUL
是否自动绑定Spring G6P?2@
H5B:;g@
struts.objectFactory.spring.useClassCache qJs<#MQ2
Whether Spring should use its class cache or not ZY55|eE
是否spring应该使用自身的cache P6`u._mX
iN\4gQ!
struts.objectTypeDeterminer N,AQsloL7
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NO>w+-dGS
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 rQs)O<jl
8 +/rlHp
struts.serve.static.browserCache [A~xy'T
If static content served by the Struts filter should set browser caching header properties or not iRbT/cc{
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZohCP
_ QI\
struts.serve.static l`{\"#4
Whether the Struts filter should serve static content or not CS5?Ti6
是否struts过滤器应该提供静态内容 'RR~7h
'~<m~UXvD#
struts.tag.altSyntax #aJ(m&
Whether to use the alterative syntax for the tags or not 81F/G5
是否可以用替代的语法替代tags ;(/ZO%h
LVfF[
struts.ui.templateDir DB|Y
The directory containing UI templates U^%Q}'UYym
UI templates的目录夹 \;3~a9q%
jl$ece5v
struts.ui.theme A]0
St@
The default UI template theme K~{$oD7!
默认的UI template主题 `Bp.RXsd*
,/%=sux
struts.url.http.port =pO^7g
The HTTP port used by Struts URLs ~O0 $Suv
设置http端口 y/{fX(aV
)3}9K
^jS
struts.url.https.port ZRB)uA)5=
The HTTPS port used by Struts URLs nI-w}NQ
设置https端口 g"DG]/ev
<tNBxa$gS
struts.url.includeParams 0/MtYIYk
The default includeParams method to generate Struts URLs pfD c9PMj
在url中产生 默认的includeParams -t'jNR'
Y'S%O/$
-q1??u
struts.velocity.configfile 5h-SCB>P
The Velocity configuration file path Tod&&T'UW
velocity配置文件路径 &\WSQmtto
BC#C9|n
struts.velocity.contexts xp)sBM7A
List of Velocity context names T{.pM4Hd
velocity的context列表 ?m}s4a
:D6
ON"6
m)t;9J5
struts.velocity.manager.classname 2j88<Yh]H
org.apache.struts2.views.velocity.VelocityManager implementation class R6Km\N
org.apache.struts2.views.velocity.VelocityManager接口名 m@2QnA[4
OmpND{w
struts.velocity.toolboxlocation RuA*YV
The location of the Velocity toolbox kR-SE5`Jk
velocity工具盒的位置 O7m(o:t x3
struts.xslt.nocache mbTEp*H
Whether or not XSLT templates should not be cached i{NzV
是否XSLT模版应该被缓存
}<v@01