struts2的struts.properties配置文件详解 H57jBD
d#x8O4S%i2
struts.action.extension :YkDn~@
The URL extension to use to determine if the request is meant for a Struts action WBIQ%XB'
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }])GQ@
.D>A'r8U
struts.configuration KFCQYdI`d
The org.apache.struts2.config.Configuration implementation class 0Og/47dO.2
org.apache.struts2.config.Configuration接口名 m-Mhf;
#c8"
struts.configuration.files ;,[EJR^CI
A list of configuration files automatically loaded by Struts ylo]`Nq
struts自动加载的一个配置文件列表 s>[vT?
gDUoc*+h
struts.configuration.xml.reload C.B8 J"T-
Whether to reload the XML configuration or not Th I
是否加载xml配置(true,false) 6
d{D3e[p^
}WBm%f
struts.continuations.package ur,V>J<5A
The package containing actions that use Rife continuations uC <|T
含有actions的完整连续的package名称 VLl&>Pbe-
dUBVp 9PB
struts.custom.i18n.resources ?CL z@u~
Location of additional localization properties files to load 4cv|ok8P
加载附加的国际化属性文件(不包含.properties后缀) &**.naSo
K~9 jin
struts.custom.properties 0|f_C3
Location of additional configuration properties files to load Bk@_]a
加载附加的配置文件的位置 <3J=;.\6
-h.3M0
{/,+_E/
struts.devMode Jf8'N
ot
Whether Struts is in development mode or not sIQMUC[!
是否为struts开发模式 !E(J
]a
(\AszLW
struts.dispatcher.parametersWorkaround g*\v}6
h
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ' ]H#0.
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |x}&wFV
UVvt&=+4
struts.enable.DynamicMethodInvocation _cnrGi}T
Allows one to disable dynamic method invocation from the URL 1&x0+~G
允许动态方法调用 %'p|JS
Sd/d [
struts.freemarker.manager.classname LqH?3):
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &nY2u-Q
org.apache.struts2.views.freemarker.FreemarkerManager接口名 !'UsC6Y4
Iclan\q#y
struts.i18n.encoding 'TEwU0<%
The encoding to use for localization messages vzgudxG'z
国际化信息内码 3k|~tVM
PhaQ3%
struts.i18n.reload %%H. &*i,
Whether the localization messages should automatically be reloaded itvy[b-*
是否国际化信息自动加载 kk>0XPk
".7KEnx
struts.locale DNTRLIKa
The default locale for the Struts application TQyFF/K
默认的国际化地区信息 ;/]c^y
62KW
HB9S
struts.mapper.class 1QdB`8in
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,J4a~fPf
org.apache.struts2.dispatcher.mapper.ActionMapper接口 I.n{ "=$B@
;z=C^'
struts.multipart.maxSize ?R~Ye
The maximize size of a multipart request (file upload) -2mOgv
multipart请求信息的最大尺寸(文件上传用) N"Nd $4
?f%DVK d
struts.multipart.parser ~O3uje_
The org.apache.struts2.dispatcher.multipart. SGT-B.
MultiPartRequest parser implementation for a multipart request (file upload) bKbpI>;[
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #._6lESK
nCmrt*&}
&-.eu
struts.multipart.saveDir ri_6wbPp
The directory to use for storing uploaded files MjeI?k}LJ
设置存储上传文件的目录夹 {;rpgc
7'l{I'Z
struts.objectFactory 4)S?Y"Bs
The com.opensymphony.xwork2.ObjectFactory implementation class _|V+["IS
com.opensymphony.xwork2.ObjectFactory接口(spring) D
+%k1
Q,+*u%/u
struts.objectFactory.spring.autoWire G6g=F+X2
Whether Spring should autoWire or not 6xQe!d3>s3
是否自动绑定Spring UyfIAC$S
XhkL))FcG
struts.objectFactory.spring.useClassCache 74N\G1
Whether Spring should use its class cache or not Wn</",Gf
是否spring应该使用自身的cache #~qp8
w
{xx;zjt%}}
struts.objectTypeDeterminer ]3cf}Au
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :JG}%
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D,R2wNF
xRZT
struts.serve.static.browserCache bI0+J)
If static content served by the Struts filter should set browser caching header properties or not !6`nN1A
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zU=[Kc=$
"k@/Z7=
struts.serve.static hA19:H=7R0
Whether the Struts filter should serve static content or not 4o8HEq!
是否struts过滤器应该提供静态内容 2PW3S{D t
^mb*w)-p?
struts.tag.altSyntax 5rSth.&
Whether to use the alterative syntax for the tags or not 43]&SXprH
是否可以用替代的语法替代tags \)
ONy9
OnJSu
z>-
struts.ui.templateDir F?4'>ZW
The directory containing UI templates Ss/="jC
UI templates的目录夹 Q&\ksM
`I<|*vW
u
struts.ui.theme _Dt TG<E
The default UI template theme q.tL'
默认的UI template主题 7im;b15j`'
' vClZGQ1
struts.url.http.port L(rjjkH
The HTTP port used by Struts URLs ! (tJZ5
设置http端口 bhT]zsBK
{u][q
&n
struts.url.https.port bHG>SW\]`?
The HTTPS port used by Struts URLs HAdm,
设置https端口 2}#PDhn
6u8fF|s
struts.url.includeParams D(GHkS*0q
The default includeParams method to generate Struts URLs B75SLK:h=
在url中产生 默认的includeParams X;g|-<
Q&;qFv5-l
Q:=/d$*xd
struts.velocity.configfile k9?+9bExXA
The Velocity configuration file path
/PS]AM
velocity配置文件路径 sP8B?Tn1W
^ 9E(8DD
struts.velocity.contexts !(o2K!v0
List of Velocity context names D/>5\da+y
velocity的context列表 a-=apD1RvG
w+D5a
VJ
|U0@(H
struts.velocity.manager.classname 9_$Odc%]
org.apache.struts2.views.velocity.VelocityManager implementation class J'v|^`bE
org.apache.struts2.views.velocity.VelocityManager接口名 3E9j%sYk
CAO{$<M5m
struts.velocity.toolboxlocation MQu6Tm H
The location of the Velocity toolbox vnpX-c
velocity工具盒的位置 =Q/i<u
struts.xslt.nocache 4'*K\Ul).H
Whether or not XSLT templates should not be cached [Xg"B|FD0
是否XSLT模版应该被缓存 ~:Nyv+g,$