struts2的struts.properties配置文件详解 DGGySO6=$e
3g!Z[SZ
struts.action.extension 4A@HR
The URL extension to use to determine if the request is meant for a Struts action Wd7*7']
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8J'5%$3u
=? !FO'zt"
struts.configuration (E0WZ$f}
The org.apache.struts2.config.Configuration implementation class k_}$d{X
org.apache.struts2.config.Configuration接口名 $V3If
L?nhm=D
struts.configuration.files esTL3 l{[
A list of configuration files automatically loaded by Struts t#P7'9Se8
struts自动加载的一个配置文件列表 |.Vgk8oTl
{2 q"9Ox"
struts.configuration.xml.reload [!%5(Ro_
Whether to reload the XML configuration or not &'12,'8
是否加载xml配置(true,false) }Q: CZ
wqDf\k}'v
struts.continuations.package xBxiBhqzF
The package containing actions that use Rife continuations L;:PeYPL
含有actions的完整连续的package名称 m#BXxS#B<_
Ewz cB\m
struts.custom.i18n.resources 3\Xk)a_
Location of additional localization properties files to load }Y7P2W+4?
加载附加的国际化属性文件(不包含.properties后缀) _qPKdGoM
h!dij^bD
struts.custom.properties 17'd~-lE
Location of additional configuration properties files to load t8RtJ2;
加载附加的配置文件的位置 S Yi !%
X$;x2mz nM
/95z1e
struts.devMode !QVhP+l'H
Whether Struts is in development mode or not k^d]E F
是否为struts开发模式 -%J9!(
c=tbl|Cq
struts.dispatcher.parametersWorkaround }5PC53q
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fB<Qs.T
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O8#]7\)
vX>{1`e{S
struts.enable.DynamicMethodInvocation <UO[*_,\
Allows one to disable dynamic method invocation from the URL ^E/6vG
允许动态方法调用 Hx+r9w
CP9 Q|'oJ
struts.freemarker.manager.classname UBW,Q+Q
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D6lzcf
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !)oQ9,N
K@n-#
struts.i18n.encoding ugN%8N
The encoding to use for localization messages U:~]>B $
国际化信息内码 r[ k
cPZ\iGy
struts.i18n.reload U~BR8]=G
Whether the localization messages should automatically be reloaded wq.'8Y~BE
是否国际化信息自动加载 kO`!!M[Oo
v @M6D}
struts.locale 1^]IuPxq
The default locale for the Struts application N}/V2K]Q
默认的国际化地区信息 }0<2n~3P
pWE(?d_M{G
struts.mapper.class uG'S&8i_
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a\m=E#G
org.apache.struts2.dispatcher.mapper.ActionMapper接口 z4D)Xy"/
'J*'{
struts.multipart.maxSize q<.k:v&
The maximize size of a multipart request (file upload) F}mt
*UcMG
multipart请求信息的最大尺寸(文件上传用) GTbV5{Ss
&&$*MHJ
struts.multipart.parser T0fm6
J
The org.apache.struts2.dispatcher.multipart. Hj`'4
MultiPartRequest parser implementation for a multipart request (file upload) 6miXaAA8
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) D@X"1X!F`G
Zt41f PQ
N:64Gko"K
struts.multipart.saveDir Z/ml,4e
The directory to use for storing uploaded files u)EtEl7Wq
设置存储上传文件的目录夹 5/6Jq
N4qBCBr(
struts.objectFactory jXmY8||w
The com.opensymphony.xwork2.ObjectFactory implementation class xH28\]F5n
com.opensymphony.xwork2.ObjectFactory接口(spring) <J~6Q
XjzGtZ#6
struts.objectFactory.spring.autoWire g3'dkS!
Whether Spring should autoWire or not F&p42!"
是否自动绑定Spring ?2o+x D2
t^Bs3;E^
struts.objectFactory.spring.useClassCache roriNr/e
Whether Spring should use its class cache or not TPx0LDk%(
是否spring应该使用自身的cache dL'oIBp
)]w&DNc
struts.objectTypeDeterminer B:i$
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;L76V$&
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 i0\]^F
rvhMu}.
struts.serve.static.browserCache FDF DB
If static content served by the Struts filter should set browser caching header properties or not x/]G"?Uix
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {pXX%>
c'?EI EP
struts.serve.static "<egm^Yq
Whether the Struts filter should serve static content or not JI-.SR
是否struts过滤器应该提供静态内容 AWFq5YMSI
zO9WqP_`iR
struts.tag.altSyntax c<q33dZ!*
Whether to use the alterative syntax for the tags or not Tl"r#
是否可以用替代的语法替代tags vfT
@;`
J7WNgl%
u
struts.ui.templateDir KX\=wFbP)
The directory containing UI templates /!5cf;kl*l
UI templates的目录夹 m_ wvi
r;(^]Soz
struts.ui.theme OJydt; a
The default UI template theme
StNA(+rT
默认的UI template主题 &!:mL],
0%rE*h9+
struts.url.http.port wmbG$T%k
The HTTP port used by Struts URLs Mf5*Wjz.Mc
设置http端口 |w~*p
N0
(:H4
struts.url.https.port M?sTz@tqq
The HTTPS port used by Struts URLs wE9z@\z]
设置https端口 R'_F9\
m/g[9Y
struts.url.includeParams ,Cm1~ExJ
The default includeParams method to generate Struts URLs ;)f,A)(Z
在url中产生 默认的includeParams m(xyEU
'T|QG@q
C@XnV=J
struts.velocity.configfile F6DVq8f9
The Velocity configuration file path d@ZXCiA},
velocity配置文件路径 /55 3v;l<
=yJc pj
struts.velocity.contexts k'"R;^~xg
List of Velocity context names ;l `(1Q/
velocity的context列表 !*qQ7
c.-dwz
6~!7?FK
struts.velocity.manager.classname "_rpErm
}
org.apache.struts2.views.velocity.VelocityManager implementation class um".Z4S
org.apache.struts2.views.velocity.VelocityManager接口名 T.{]t6t$U
#K-O<:s=y
struts.velocity.toolboxlocation {v d+cE
The location of the Velocity toolbox g_Y$5ft`
velocity工具盒的位置 _!Z}HCk
struts.xslt.nocache qpf|.m
Whether or not XSLT templates should not be cached G!F_Q7|-
是否XSLT模版应该被缓存 Z_jV0[\v0P