struts2的struts.properties配置文件详解 :Uz| 3gq
?*2CpM&l
struts.action.extension X]'{(?Ch
The URL extension to use to determine if the request is meant for a Struts action T,7Y7c/3V
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _7<FOOM%8y
J{'>uD.@
struts.configuration 3?[dE<
The org.apache.struts2.config.Configuration implementation class u&1q [0y
org.apache.struts2.config.Configuration接口名 ~:0sk"t$1
qJ;jfh!
struts.configuration.files ATJWO1CtB
A list of configuration files automatically loaded by Struts XO`0>^g
struts自动加载的一个配置文件列表 dpJ_r>NI
m/Oh\KlIl
struts.configuration.xml.reload 4 kn|^
Whether to reload the XML configuration or not (g EBOol
是否加载xml配置(true,false) N<|@ymi
uvMy^_}L
struts.continuations.package .GV;+8HzS
The package containing actions that use Rife continuations zepm!JR1
含有actions的完整连续的package名称 ^2+yHw
p%#<D9S
struts.custom.i18n.resources FFV `P
Location of additional localization properties files to load U}& 2k
加载附加的国际化属性文件(不包含.properties后缀) 1jCLO}
/rMI"khB
struts.custom.properties t'?.8}?)I&
Location of additional configuration properties files to load PjZvQ\Z
加载附加的配置文件的位置 ?<V?wsp
b$4"i XSQ
XnDUa3
struts.devMode K:!"+q
Whether Struts is in development mode or not ~kQA7;`j$
是否为struts开发模式 N2B|SO''
'U1R\86M
struts.dispatcher.parametersWorkaround ADS9DiX/
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OSlvwH%(EE
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M}d_I+
ahuGq'
struts.enable.DynamicMethodInvocation ?/BqD;{?I
Allows one to disable dynamic method invocation from the URL wr5AG<%(
允许动态方法调用 +s(HOq)b
&]8P1{
struts.freemarker.manager.classname 9zZr^{lUl
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,.rs(5.z8/
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !HrKXy0{
l9}3XI.=
struts.i18n.encoding q'|rgT
The encoding to use for localization messages pczug-nB
国际化信息内码 l H#u
|L-]fjBbF
struts.i18n.reload K17j$o^6KK
Whether the localization messages should automatically be reloaded RLw;(*(g
是否国际化信息自动加载 $@"l#vJPfc
Y-pzy']4
struts.locale .JYaH?
The default locale for the Struts application }B8IBveu
默认的国际化地区信息 kB3H="3[[
Rd2qe /
struts.mapper.class #,,d>e
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [ad@*KFxy3
org.apache.struts2.dispatcher.mapper.ActionMapper接口 aAJU`=uq
OTy.VT|
struts.multipart.maxSize C3eR)Yh
The maximize size of a multipart request (file upload) Inn@2$m~
multipart请求信息的最大尺寸(文件上传用) txW{7[w+,
Q?e*4ba
struts.multipart.parser QOjqQfmM;
The org.apache.struts2.dispatcher.multipart. qLw{?sH}J/
MultiPartRequest parser implementation for a multipart request (file upload) #i@;J]x(
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gGr^@=;YC
|k+8<\
?,p;O
struts.multipart.saveDir +,2:g}5
The directory to use for storing uploaded files plUZ"Tr
设置存储上传文件的目录夹 M\sN@+
]+(6,ct&.
struts.objectFactory 3x5JFM
The com.opensymphony.xwork2.ObjectFactory implementation class [baiH|5>
com.opensymphony.xwork2.ObjectFactory接口(spring) !+1<E*NQ S
uZc`jNc\
struts.objectFactory.spring.autoWire #z&&M"*a|
Whether Spring should autoWire or not 4xk|F'6K
是否自动绑定Spring uv=.2U46
}E0,z
struts.objectFactory.spring.useClassCache .Si,dc\
Whether Spring should use its class cache or not *FC=X) _&W
是否spring应该使用自身的cache P\w\N2
eCN })An
struts.objectTypeDeterminer =+ytTQc*ot
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f47Od-\-
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |K6REkzr
|<#{"'/=
struts.serve.static.browserCache 2Or'c`|
If static content served by the Struts filter should set browser caching header properties or not whpfJNz
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TT'[qfAI
8dZ0rPd?
struts.serve.static 3^R&:|,
Whether the Struts filter should serve static content or not x$IX5:E#e
是否struts过滤器应该提供静态内容 bLe<G
b?TO=~k,
struts.tag.altSyntax _z'u pb&
Whether to use the alterative syntax for the tags or not i
7_ _
是否可以用替代的语法替代tags /e7O$L)
dls
ss\c^M
struts.ui.templateDir LO
<
The directory containing UI templates zhpx"{_
UI templates的目录夹 [ JpKSTg[
`&KwtvkdI
struts.ui.theme vY%d
The default UI template theme 9{-EJ)
默认的UI template主题 vWRju*Z&
K%"5ImM
struts.url.http.port k *Q<3@S
The HTTP port used by Struts URLs YQ39A_e
g
设置http端口 zN!ZyI$nqP
Q,p}:e
struts.url.https.port Db)?i?o}t
The HTTPS port used by Struts URLs Kz>3
ic$I
设置https端口 gUxP>hB
? i( %
struts.url.includeParams ]Bm/eRy"
The default includeParams method to generate Struts URLs ?mWw@6G,
在url中产生 默认的includeParams q8^^H$<Db
%F!1
#>%X_o-o23
struts.velocity.configfile X=hYB}}nu
The Velocity configuration file path BDq%'~/^
velocity配置文件路径 9:,V5n=
&Rx{.9
struts.velocity.contexts aemc2b*
List of Velocity context names <4_X P.N
velocity的context列表 5#> 8MU?&
#gp,V#T
MKy[hT:
struts.velocity.manager.classname zY,r9<I8_x
org.apache.struts2.views.velocity.VelocityManager implementation class %1O;fQL
org.apache.struts2.views.velocity.VelocityManager接口名 p$h4u_
_h X]%
struts.velocity.toolboxlocation ;cPy1
The location of the Velocity toolbox >)spqu]
velocity工具盒的位置 AI,(z;{P
struts.xslt.nocache Sg6"WV{<
Whether or not XSLT templates should not be cached V#cqRE3XNi
是否XSLT模版应该被缓存 x/;bu W-