struts2的struts.properties配置文件详解 7SoxsT)
?Vbe
struts.action.extension 9Vxsv*OR,
The URL extension to use to determine if the request is meant for a Struts action $.R$I&U
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 DC]FY|ff
KqcelI?-I
struts.configuration !\JG]2 \
The org.apache.struts2.config.Configuration implementation class ^(V!vI*
org.apache.struts2.config.Configuration接口名 rs~RKTv-
;EW]R9HCH
struts.configuration.files ~PHAC@pU
A list of configuration files automatically loaded by Struts h#^IT
struts自动加载的一个配置文件列表 @bmu4!"d
{[hV['Awv
struts.configuration.xml.reload f5
wn`a~h
Whether to reload the XML configuration or not hx+a.N
是否加载xml配置(true,false) kMo;<Z
U;i:k%Bzy
struts.continuations.package mJc'oG-
The package containing actions that use Rife continuations P%xk
含有actions的完整连续的package名称 @Q!f^
9j49#wG0"B
struts.custom.i18n.resources $f_;>f2N
Location of additional localization properties files to load *hF5cM[
加载附加的国际化属性文件(不包含.properties后缀) M cNj TD
zbddn4bW9
struts.custom.properties $d:/cN
8E
Location of additional configuration properties files to load
&e7yX
加载附加的配置文件的位置 D4}WJMQ7s
|n=m8X
]Q-ON&/
struts.devMode #PVgx9T=_
Whether Struts is in development mode or not Nj %!N
是否为struts开发模式 k^ B'W{
4sSQ
nK
struts.dispatcher.parametersWorkaround !Lb9KDk
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zY(w`Hm2
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t.j q]L
@8DBLn w
struts.enable.DynamicMethodInvocation 4M i*bN,
Allows one to disable dynamic method invocation from the URL .P# c/SQp
允许动态方法调用 ym2\o_^(
P{)HXUVb
struts.freemarker.manager.classname pHsp]a
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %~4R)bsJ'
org.apache.struts2.views.freemarker.FreemarkerManager接口名 wDem
}uO
2xni! *T+
struts.i18n.encoding b}9K"GT
The encoding to use for localization messages Xleoh2&M
国际化信息内码 M98dQ%4I
[]1VD#
struts.i18n.reload uCNQ.Nbf C
Whether the localization messages should automatically be reloaded cwz
% LKh
是否国际化信息自动加载 \kzxt/Ow
G( nT.\
struts.locale I=D`:u\H
The default locale for the Struts application d}>Nl$
默认的国际化地区信息 jXGr{n
5ii`!y
struts.mapper.class k^C;"awh
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I>=7|G
org.apache.struts2.dispatcher.mapper.ActionMapper接口 |}QDC/
PP[{c
struts.multipart.maxSize [bJ"*^M)
The maximize size of a multipart request (file upload) 4eU};Pv
multipart请求信息的最大尺寸(文件上传用) TcpD*%wW
>Hic
tH
struts.multipart.parser gD _tBv
The org.apache.struts2.dispatcher.multipart. :&2RV_$>=
MultiPartRequest parser implementation for a multipart request (file upload) .o:Pe2C
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) QP7EP aW
~Msee+ZZ :
6@wnF>'/\
struts.multipart.saveDir 6.EfM^[
The directory to use for storing uploaded files |B)e!#
设置存储上传文件的目录夹 nDiD7:e7=
=Q.2:*d.
struts.objectFactory OB6I8n XW
The com.opensymphony.xwork2.ObjectFactory implementation class l#~Sh3@L(
com.opensymphony.xwork2.ObjectFactory接口(spring) t<|=-
hAfR Hd
struts.objectFactory.spring.autoWire 4oT25VH
Whether Spring should autoWire or not zXbTpm
是否自动绑定Spring T d4 /3k
KVtnz
struts.objectFactory.spring.useClassCache |; $fy-
Whether Spring should use its class cache or not R|$=Pfg~4
是否spring应该使用自身的cache 9H1R0iWW
\r324Bw>2
struts.objectTypeDeterminer q}ZZqYk
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =(Mv@eA"
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f|Z3VS0x
iWCN2om
struts.serve.static.browserCache ^-~.L: }q
If static content served by the Struts filter should set browser caching header properties or not q_OIzZ@
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /w_Sc{
R@=ve
%a-
struts.serve.static qk~QcVg
Whether the Struts filter should serve static content or not [jDO8n/
是否struts过滤器应该提供静态内容 1^}()H62}
{KeHqM}e
struts.tag.altSyntax nl*{@R.q @
Whether to use the alterative syntax for the tags or not #n{wK+lz
是否可以用替代的语法替代tags u<!!%C~+=
<C+:hsS=
struts.ui.templateDir &^63*x;hE
The directory containing UI templates e~'y %| D
UI templates的目录夹 6xk"bIp
#c+N}eX{
struts.ui.theme KKGAk\X
The default UI template theme YDi_Gl$
默认的UI template主题 WYRTt2(+%
.DHZs#R
struts.url.http.port S'Yg!KwX
The HTTP port used by Struts URLs &^ =t%A%#
设置http端口 Tl8S|Rg
e1~C>
struts.url.https.port z|+L>O-8
The HTTPS port used by Struts URLs C(?>l.QGw
设置https端口 p|(910OEQ
*vJ1~SRV
struts.url.includeParams "! p#8jR^
The default includeParams method to generate Struts URLs {'"A hiR/
在url中产生 默认的includeParams KOhy)h+ h
r$k
*:A$%
Ad@))o2
struts.velocity.configfile F8_pwJUpf-
The Velocity configuration file path ^._)HM
velocity配置文件路径 ~UK)
p;|
6x*ImhQ.J
struts.velocity.contexts HQt=.#GW
List of Velocity context names Fdm7k){A
velocity的context列表 XXuU@G6Z7$
cX7xG U
>p\IC
struts.velocity.manager.classname 0z#+^
org.apache.struts2.views.velocity.VelocityManager implementation class }=s@y"["
org.apache.struts2.views.velocity.VelocityManager接口名 &m>`+uVBP
CyzvQfpZr
struts.velocity.toolboxlocation ?.\CUVK
The location of the Velocity toolbox >bz}IcZP
velocity工具盒的位置 IJS9%m#
struts.xslt.nocache }`5%2iG
Whether or not XSLT templates should not be cached HY5g>wv@
是否XSLT模版应该被缓存 (}4tj4d