struts2的struts.properties配置文件详解 qZXyi'(d
bo&\3
struts.action.extension m dC`W&r
The URL extension to use to determine if the request is meant for a Struts action XO 0>t{G
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +mivqR~{{
$4DFgvy$
struts.configuration {5U1`>
The org.apache.struts2.config.Configuration implementation class :-w@^mli
org.apache.struts2.config.Configuration接口名 l8er$8S}
&}>|5>cJu
struts.configuration.files f9vcf# 2
A list of configuration files automatically loaded by Struts s`;0
t YG
struts自动加载的一个配置文件列表 mr@_%U
T}V7SD.
struts.configuration.xml.reload 4sj9Z:
Whether to reload the XML configuration or not
;&K3[;a
是否加载xml配置(true,false) P)Z/JHB
|.y>[+Qb*
struts.continuations.package
A(q~{
The package containing actions that use Rife continuations W"W@WG9X0
含有actions的完整连续的package名称 /
c+,
qnabw F
struts.custom.i18n.resources -zPm{a
Location of additional localization properties files to load RcY6V_Qx
加载附加的国际化属性文件(不包含.properties后缀) 8o!
X
QI.0L"
struts.custom.properties D_O 5k|-V
Location of additional configuration properties files to load $/4Wod*l
加载附加的配置文件的位置 yonJd
X=fPGyhZ
)o05Vda
struts.devMode
HT{F$27W
Whether Struts is in development mode or not TvQWdX=
是否为struts开发模式 |hu"5*
#rh0r`
struts.dispatcher.parametersWorkaround 9c"0~7v
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;6DR.2}?>
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :`{9x%o;
zb@L)%
struts.enable.DynamicMethodInvocation sqm%iyC=q
Allows one to disable dynamic method invocation from the URL Q.j-C}a
允许动态方法调用 9`ri
J4zl
],BJ}~v,X
struts.freemarker.manager.classname +}Qv6s#
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;yRwoTc)Y
org.apache.struts2.views.freemarker.FreemarkerManager接口名 P Xyyyir{
@qg0u#k5
struts.i18n.encoding (Q}PeKM?jq
The encoding to use for localization messages Iu=pk@*O
国际化信息内码 ==jkp
U*=
6LSPPMM
struts.i18n.reload N&R
'$w
Whether the localization messages should automatically be reloaded /ChJ~g "
是否国际化信息自动加载 yrxx+z|wR
a(Gk~vD;"
struts.locale "cnG/{($*
The default locale for the Struts application "2y7l
默认的国际化地区信息 `~w%Jf
#Z2>TN
struts.mapper.class GQYtH#
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S*~Na]nS0
org.apache.struts2.dispatcher.mapper.ActionMapper接口 &5kjjQ*HB
?X8K$g
struts.multipart.maxSize @Z3[c[D)9
The maximize size of a multipart request (file upload) )w}*PL
multipart请求信息的最大尺寸(文件上传用) Ymrpf
L<[,7V
struts.multipart.parser sT;=7L<TA
The org.apache.struts2.dispatcher.multipart. S 2{ ?W
MultiPartRequest parser implementation for a multipart request (file upload) D7Rbho<
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ep v3/`I
MJ*oeI!.=
S`'uUvAA
struts.multipart.saveDir hc@;}a\Y
The directory to use for storing uploaded files nU">> 1!U
设置存储上传文件的目录夹 ek+8hnkh
`#IT24!
struts.objectFactory CwCo"%E8}
The com.opensymphony.xwork2.ObjectFactory implementation class Eo25ir%
com.opensymphony.xwork2.ObjectFactory接口(spring) \8C*O{w
RY'\mt"W2
struts.objectFactory.spring.autoWire N2S!.H!Wz
Whether Spring should autoWire or not .{Eg(1At
是否自动绑定Spring %_i0go,^
*}Ae9
struts.objectFactory.spring.useClassCache )Or:wFSMq
Whether Spring should use its class cache or not BZ'y}Zu*
是否spring应该使用自身的cache SqT"/e]b'
8Vg`;_ -
struts.objectTypeDeterminer v#AO\zYKd
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N#xM_Mpt
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .Q6{$Y%l
*FG4!~<e
struts.serve.static.browserCache !Vod0j">
If static content served by the Struts filter should set browser caching header properties or not -7A!2mRiz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 []]LyWk
"> 4[+'
struts.serve.static C*6bR? I9
Whether the Struts filter should serve static content or not 5xn0U5U
是否struts过滤器应该提供静态内容 b^=8%~?%4
YJtOdgG|q
struts.tag.altSyntax #@OKp,LJ
Whether to use the alterative syntax for the tags or not xBx?>nN
是否可以用替代的语法替代tags \Jj'60L^
.q& ]wu
struts.ui.templateDir zj$Z%|@$
The directory containing UI templates Yhv`IV-s
UI templates的目录夹 IEKX'+t'
3T#3<gqM[
struts.ui.theme B2+_F"<;
The default UI template theme :WKyEt!3
默认的UI template主题 I]S(tx!
U=*q;$L#
struts.url.http.port }v|[h[cZ
The HTTP port used by Struts URLs ^`C*";8Q
设置http端口 1PjX:]:
$F'~^2
struts.url.https.port f\%X7.
The HTTPS port used by Struts URLs MyR\_)P?
设置https端口 kTe<1^,m
mjJlXA
struts.url.includeParams T)?@E/VaS
The default includeParams method to generate Struts URLs ^ZZ@!Udy
在url中产生 默认的includeParams :.o0<
*g_>eNpXD
BqJrL/(
struts.velocity.configfile Boz_*l|
The Velocity configuration file path er}'}n`@q
velocity配置文件路径 m`w6wz
oFA$X Y
struts.velocity.contexts 63\>MQcLy
List of Velocity context names Y- 9j2.{
velocity的context列表 tj Bv{
zCN;LpbEJY
ZXRN?b
struts.velocity.manager.classname uqH! eN5
org.apache.struts2.views.velocity.VelocityManager implementation class pc(9(. |
org.apache.struts2.views.velocity.VelocityManager接口名 }T(q "Vf~
A=>6$L];'
struts.velocity.toolboxlocation lJp v
The location of the Velocity toolbox uX!y,a/"
velocity工具盒的位置 /]UNN~(
struts.xslt.nocache 5 BG&r*U
Whether or not XSLT templates should not be cached 206jeH9
是否XSLT模版应该被缓存 1;sAt;/W8