struts2的struts.properties配置文件详解 9Vm1q!lE
^qR|lA@=\
struts.action.extension X?'cl]1?
The URL extension to use to determine if the request is meant for a Struts action ZX:rqc
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }4Yz P 4
HXa[0VOx
struts.configuration 7x6M]1F
The org.apache.struts2.config.Configuration implementation class adP :{j
org.apache.struts2.config.Configuration接口名 Lmte ~oBi
*yRsFC{,
struts.configuration.files Dm)B? H"
A list of configuration files automatically loaded by Struts C12UZE;
struts自动加载的一个配置文件列表 ae sk.
xUdGSr50
struts.configuration.xml.reload N x&/p$d
Whether to reload the XML configuration or not =NtHV4=b
是否加载xml配置(true,false) JPqd}:u3
%,
psUOY
struts.continuations.package +-@n}xb@
The package containing actions that use Rife continuations
=Pl@+RgK+
含有actions的完整连续的package名称 !#)t<9]fv
]!/U9"_e"B
struts.custom.i18n.resources 1p.c6[9-
Location of additional localization properties files to load QgqJ #
加载附加的国际化属性文件(不包含.properties后缀) 8D )nM|
58s-RO6
struts.custom.properties M4C8K{}
Location of additional configuration properties files to load @vlP)"
加载附加的配置文件的位置 5j`xSG
WY!\^| ,
g{yw&q[B=
struts.devMode 5)%ahmY
Whether Struts is in development mode or not $v@$C4
是否为struts开发模式 7{F\b
R!j #
struts.dispatcher.parametersWorkaround OZxJDg
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @.W; 3|~qc
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M
5sk&>
h~ k<"
struts.enable.DynamicMethodInvocation Vn^GJ'^
Allows one to disable dynamic method invocation from the URL 0P5VbDv$r7
允许动态方法调用
1c0'i
X,v.1#[
struts.freemarker.manager.classname U.<j2Kum
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S/`#6
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ez'NHodwk2
MV" n{1B
struts.i18n.encoding d%8n
The encoding to use for localization messages d-~V.
国际化信息内码 srv4kodj
44ty,M3
struts.i18n.reload _X4Y1zh
Whether the localization messages should automatically be reloaded S $p>sItO
是否国际化信息自动加载 eyMn! a
a* cWj}u
struts.locale ^+P.f[
The default locale for the Struts application $ZI]
默认的国际化地区信息 o`S``?`^)^
PeIx41. +s
struts.mapper.class f]/2uUsg%
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {1SsHir>
org.apache.struts2.dispatcher.mapper.ActionMapper接口 dS6 $
jKml:)k
struts.multipart.maxSize ?kO.>o
The maximize size of a multipart request (file upload) g5nJ0=9
multipart请求信息的最大尺寸(文件上传用) +LRKS
be8T<F
struts.multipart.parser 0/su`
The org.apache.struts2.dispatcher.multipart. yI:
;+K
MultiPartRequest parser implementation for a multipart request (file upload) ' 4FH9J
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z}MxMx
c4h
M1/d7d
3lp'U&3`5
struts.multipart.saveDir Lm4`O%
The directory to use for storing uploaded files J>A9]%M
设置存储上传文件的目录夹 01?+j%k=m/
D0\>E}Y E
struts.objectFactory <,)R`90_X6
The com.opensymphony.xwork2.ObjectFactory implementation class bh.&vp.kP
com.opensymphony.xwork2.ObjectFactory接口(spring) UOZ+&DL,L
EQ$k^Y8 "
struts.objectFactory.spring.autoWire UDG1F_&h
Whether Spring should autoWire or not 9)oi_U.
是否自动绑定Spring r%=-maPL[
B"_O!
struts.objectFactory.spring.useClassCache 2GptK"MrD
Whether Spring should use its class cache or not V;%ug'j
是否spring应该使用自身的cache _;k<=ns(=
,H{9`a#+:
struts.objectTypeDeterminer c7XBZ%D
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &+#5gii1i
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Yg8*)u0
-P;0<j@6k5
struts.serve.static.browserCache , MXU]{
If static content served by the Struts filter should set browser caching header properties or not T<B}Z11R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 4QA~@pBX^{
a.V5fl0?I@
struts.serve.static CV
@P
+
Whether the Struts filter should serve static content or not |}4\Gm
是否struts过滤器应该提供静态内容 f}bq
r84^/+"T
struts.tag.altSyntax ~lo43$)^
Whether to use the alterative syntax for the tags or not C+TB>~Gv`
是否可以用替代的语法替代tags Y%?S:&GH
`q36`Wn
struts.ui.templateDir 'f<N7%eZ
The directory containing UI templates s\;/U|P_
UI templates的目录夹 Tgz=I4g
$2a"Ec!7
struts.ui.theme tDRR 3=9pX
The default UI template theme ]6e(-v!U
默认的UI template主题 Jc#D4e1#
76tn`4NIP
struts.url.http.port eUy*0
The HTTP port used by Struts URLs &[[r|
设置http端口 Nm"P8/-09
NBPP?\1
struts.url.https.port !i"zM}
The HTTPS port used by Struts URLs $9`#p/V
设置https端口 uHKEt[PS$
*a Z1 4
struts.url.includeParams 76 !LMNf
The default includeParams method to generate Struts URLs :i<*~0r<
在url中产生 默认的includeParams zP,r,ok7
4k225~GQ:C
D./{f8
struts.velocity.configfile GeP={lj
The Velocity configuration file path O^cC+@l!4
velocity配置文件路径 qnp}#BZ
n<C]
6H
struts.velocity.contexts <L]Gk]k_R
List of Velocity context names ?0; 2ct
velocity的context列表 TaRPMKk
(I~
w1tM !4r
struts.velocity.manager.classname yUnV%@.
org.apache.struts2.views.velocity.VelocityManager implementation class UQDAql
org.apache.struts2.views.velocity.VelocityManager接口名 blQ&QQL
G=zNZ
struts.velocity.toolboxlocation vclc%ws
The location of the Velocity toolbox |*c1S
-#
velocity工具盒的位置 Tdcc<T
struts.xslt.nocache gML8lu0)
Whether or not XSLT templates should not be cached gxl7jY
是否XSLT模版应该被缓存 $E@n;0P