struts2的struts.properties配置文件详解 i?uJ<BdU[
3+gp_7L
struts.action.extension FWNO/)~t
The URL extension to use to determine if the request is meant for a Struts action
SqL8MKN)
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -I7"9}j3
&CCp@" +
struts.configuration +;7Rz_.6f
The org.apache.struts2.config.Configuration implementation class JTw\5j
org.apache.struts2.config.Configuration接口名 9H~3&-8&
)BR6?C3
struts.configuration.files >'4Bq*5>
A list of configuration files automatically loaded by Struts lg_X|yhL
struts自动加载的一个配置文件列表 mAkR<\?iTF
|A".Mo_5
struts.configuration.xml.reload ^&iUC&8W
Whether to reload the XML configuration or not .,t"iC:E
是否加载xml配置(true,false) <X}@afS
q y1$(3t$
struts.continuations.package ngM>Tzirt
The package containing actions that use Rife continuations ?[>+'6
含有actions的完整连续的package名称 1df}gG
*k:Sg*neVq
struts.custom.i18n.resources KN>U6=WN
Location of additional localization properties files to load \(Uw.ri
加载附加的国际化属性文件(不包含.properties后缀) Ky33h 0TX
z}v6!u|iZu
struts.custom.properties F%!ZHE7
Location of additional configuration properties files to load ,>X
+tEgR
加载附加的配置文件的位置 y>T:fu
` z<k7ig
qiQS:0|_
struts.devMode bV_@!KL$
Whether Struts is in development mode or not Sns`/4S?6Z
是否为struts开发模式 $
BV4 i$
:hYV\8$
struts.dispatcher.parametersWorkaround hO3>Gl5<
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?9#}p
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
zj.;O#hW
oTj9 /r
struts.enable.DynamicMethodInvocation AyZL(
Allows one to disable dynamic method invocation from the URL n gA&PU
允许动态方法调用
]t-_.E )F
{]1+01vI-
struts.freemarker.manager.classname 4:Adn?"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8 ;oU{
org.apache.struts2.views.freemarker.FreemarkerManager接口名 zmk# gk2H
JiL%1y9|
struts.i18n.encoding aW-'Jg=@H^
The encoding to use for localization messages t><AaYij_
国际化信息内码 Wh4`Iv\.
T/Q#V)Tp
struts.i18n.reload yD|He*$S
Whether the localization messages should automatically be reloaded
r=YprVX
是否国际化信息自动加载 q~9Y&>D
C<Q;3w`#1j
struts.locale Tl9KL%9
The default locale for the Struts application m'&^\7;D
默认的国际化地区信息 {?c`0C
qOO2@c
struts.mapper.class *I7$\0Q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dx{ZG'@aH
org.apache.struts2.dispatcher.mapper.ActionMapper接口 yD6lzuk{X
S<"T:Y&
struts.multipart.maxSize NMYkEz(&R
The maximize size of a multipart request (file upload) N0EJHS,>e
multipart请求信息的最大尺寸(文件上传用) C.M]~"e
s,UccA@
struts.multipart.parser cTf/B=yMi
The org.apache.struts2.dispatcher.multipart. ~Ti
MultiPartRequest parser implementation for a multipart request (file upload) "I.PV$Rxl
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) M$j]VZ
yM(zc/?
>,22@4
struts.multipart.saveDir |U}al[
The directory to use for storing uploaded files _l}"gUti w
设置存储上传文件的目录夹 o<T_Pjp
c%,~1l
struts.objectFactory *G)=6\
The com.opensymphony.xwork2.ObjectFactory implementation class jFYv4!\ju
com.opensymphony.xwork2.ObjectFactory接口(spring) /I@nPH<y
,<]X0;~oB
struts.objectFactory.spring.autoWire NYbeIfL
Whether Spring should autoWire or not 4#H~g
@
是否自动绑定Spring m:@-]U@6
T^9k,J(rM
struts.objectFactory.spring.useClassCache rdd%"u+
Whether Spring should use its class cache or not SenDJv00
是否spring应该使用自身的cache 8':^tMd
=sVB.P
struts.objectTypeDeterminer F6 ?4E"d
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <=KtRE>$
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5N=QS1<$5
mup<%@7m
struts.serve.static.browserCache NIn#
If static content served by the Struts filter should set browser caching header properties or not Qx,jUL#2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Dk&@AjJga
; n tq%
struts.serve.static :BFecS&i5
Whether the Struts filter should serve static content or not *G|w#-\.c
是否struts过滤器应该提供静态内容 r@;n \
C^vB&3ghi
struts.tag.altSyntax fbaQXM
Whether to use the alterative syntax for the tags or not
h"<-^=b
是否可以用替代的语法替代tags 5"1kfB3v
6{/HNEI*1
struts.ui.templateDir =1' / ?
The directory containing UI templates C^>txui8
UI templates的目录夹 jcNYW_G
5AV5`<r.
struts.ui.theme P~Cx#`#(V
The default UI template theme <C0~7]XO
默认的UI template主题 +[$d9
5e^t;
struts.url.http.port $@y<.?k>UP
The HTTP port used by Struts URLs (gd+-o4
设置http端口 hVPSW# .d
-z"=d<@
struts.url.https.port MpZ
#
The HTTPS port used by Struts URLs 5v:c@n
设置https端口 l*;Isz:
=m{]Xep
struts.url.includeParams P9j[
NEV
The default includeParams method to generate Struts URLs ~Dsz9 f
在url中产生 默认的includeParams ,U9gg-.Lp
RLkP)+t
no_(J>p^&
struts.velocity.configfile #Fx$x#Gc@y
The Velocity configuration file path u;$g13
velocity配置文件路径 $6~ J#;
dD _(MbTt
struts.velocity.contexts .6I*=qv)NA
List of Velocity context names L[4Su;D
velocity的context列表 'xO5Le(=M
z:C
VzK,
u_+64c_7
struts.velocity.manager.classname Lyjt$i W%
org.apache.struts2.views.velocity.VelocityManager implementation class Qs(WyP#
org.apache.struts2.views.velocity.VelocityManager接口名 gWcl@|I;\
$ekJs/I&
struts.velocity.toolboxlocation qi!Nv$e
The location of the Velocity toolbox $f`\TKlN
velocity工具盒的位置 L8"0o 0-
struts.xslt.nocache ]F:5-[V#
Whether or not XSLT templates should not be cached ~/0t<^
是否XSLT模版应该被缓存 35/)S@