struts2的struts.properties配置文件详解 ~cz]Rhq
8JAA?0L"'
struts.action.extension X1]&j2WR
The URL extension to use to determine if the request is meant for a Struts action W'E!5T^
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。
=5b5d
Vl{CD>$,
struts.configuration p/:)Z_
The org.apache.struts2.config.Configuration implementation class D'YF[l
org.apache.struts2.config.Configuration接口名 i6-q%%]6
"FT5]h
struts.configuration.files =
A list of configuration files automatically loaded by Struts O_nk8
struts自动加载的一个配置文件列表 @/lLLGrZ"
W,`u5gbT
struts.configuration.xml.reload f~jx2?W
Whether to reload the XML configuration or not u6'vzLmM
是否加载xml配置(true,false) @CP"AYB #
{:IOTy
struts.continuations.package GxLoNVr
The package containing actions that use Rife continuations (ivV [
含有actions的完整连续的package名称 n!|K#
4))u*c/,
struts.custom.i18n.resources 4};!nYey!
Location of additional localization properties files to load *#+d j"
加载附加的国际化属性文件(不包含.properties后缀) AU}lKq7%
/"- k
;jz
struts.custom.properties vz)A~"E
Location of additional configuration properties files to load = PqQJE}
加载附加的配置文件的位置 5{zXh
q#pBlJ.LK
?Mp~^sgp'
struts.devMode B cX}[?c
Whether Struts is in development mode or not 2}'qu)
是否为struts开发模式 qDqIy+WR
b+'G^!JR
struts.dispatcher.parametersWorkaround +e)So+.W
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qlIC{:E0
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G&0&*mp
oB-&ma[ZS
struts.enable.DynamicMethodInvocation pco~Z{n
Allows one to disable dynamic method invocation from the URL Xl#vVyO
允许动态方法调用 [zm&}$nnN
%/oOM\}++
struts.freemarker.manager.classname t^ Aios~F
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /R''R:j
org.apache.struts2.views.freemarker.FreemarkerManager接口名 />Wh
W([)b[-*
struts.i18n.encoding 0'TqW9P
The encoding to use for localization messages +%>s\W+?]
国际化信息内码 X9/V;!
C(3yJzg>y
struts.i18n.reload ?6p6OB
Whether the localization messages should automatically be reloaded eE>3=1d]w
是否国际化信息自动加载 X@b$C~+
:t(gD8 ;
struts.locale E(4ti]'4
The default locale for the Struts application jHT 4I>\
默认的国际化地区信息 YUF!Y9!
H
#J"'
struts.mapper.class :u'X
~ID[
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ; QR|v
org.apache.struts2.dispatcher.mapper.ActionMapper接口 prlnK
bS&'oWy*B
struts.multipart.maxSize N(dn"`8
The maximize size of a multipart request (file upload) ""^9WLH4g-
multipart请求信息的最大尺寸(文件上传用) $&qB,>5=X
1i_~ZzX8
struts.multipart.parser @?aNvWeavH
The org.apache.struts2.dispatcher.multipart. x]euNa
MultiPartRequest parser implementation for a multipart request (file upload) 8!TbJVR
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2K..
;A$
#v:<\-MjN
90k|W>
struts.multipart.saveDir 29Kuq ;6
The directory to use for storing uploaded files x1/Usupi
设置存储上传文件的目录夹 4.,e3
L(PJ9wjkD
struts.objectFactory 1UJ(._0hR
The com.opensymphony.xwork2.ObjectFactory implementation class vPi\ vU{
com.opensymphony.xwork2.ObjectFactory接口(spring) +LQ2To
#"O9\X/B
struts.objectFactory.spring.autoWire ]RPv@z:V
Whether Spring should autoWire or not +;C|5y
是否自动绑定Spring tW|B\p}
Ufq"_^4
struts.objectFactory.spring.useClassCache Wv77ef
Whether Spring should use its class cache or not 9K#.0
是否spring应该使用自身的cache )FMpfC>An
3a:(\:?z
struts.objectTypeDeterminer [=Np.:Y%
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'an{<82i
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b/"gkFe#
kmy?`P10(z
struts.serve.static.browserCache W$EX6jTGI
If static content served by the Struts filter should set browser caching header properties or not K
*{C:Y
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 m/0G=%d%k
g"2@E
struts.serve.static *Sz`=U7n
Whether the Struts filter should serve static content or not :B$=Pp1
是否struts过滤器应该提供静态内容 [_|iW%<`
-gu)d5b
struts.tag.altSyntax <9"s&G@
Whether to use the alterative syntax for the tags or not `vDg~o
是否可以用替代的语法替代tags \tyL`&)
Wfu%,=@,
struts.ui.templateDir ,<R/x[
The directory containing UI templates IqfR`iAix
UI templates的目录夹 cOOPNa>5_
?b#/*T}ac
struts.ui.theme Wxjk}&+pVa
The default UI template theme &m'O :ZS2
默认的UI template主题 vD:.1,72
YCh!D dy
struts.url.http.port
9`{Mq9J
The HTTP port used by Struts URLs &VR<'^>
设置http端口 J0@m
Ol
+O j28vR
struts.url.https.port To}L%)
The HTTPS port used by Struts URLs U(3LeS;mr
设置https端口 PgB=<#9
5G(y
struts.url.includeParams MG8-1M
The default includeParams method to generate Struts URLs bkmX@+Pe
在url中产生 默认的includeParams @`%.\_
#@2 `^1
}=?r`J+Ev;
struts.velocity.configfile /J/r 62
The Velocity configuration file path HZ[&ZNTa
velocity配置文件路径 twf;{lZ(
4d!&.Qo9
struts.velocity.contexts Z6K9E=%)c
List of Velocity context names >8t(qM-~:
velocity的context列表 O5_E"um
ovm*,La)g
dXe763~<
struts.velocity.manager.classname ~i))Zc3,g\
org.apache.struts2.views.velocity.VelocityManager implementation class .a;-7|x
org.apache.struts2.views.velocity.VelocityManager接口名 I #1_
* fSa8CV
struts.velocity.toolboxlocation }9Y='+.%^
The location of the Velocity toolbox ~`*:E'/5k]
velocity工具盒的位置 F:hJ^:BP
struts.xslt.nocache 6XFO@c}d
Whether or not XSLT templates should not be cached dMRwQejY{7
是否XSLT模版应该被缓存 CrS[FM= +W