struts2的struts.properties配置文件详解 k1L GT&
hAOXOj1
struts.action.extension u%V=Ze
The URL extension to use to determine if the request is meant for a Struts action -]Z!_[MlDF
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vROl}s;
ba%[!
struts.configuration )"m FlS<I
The org.apache.struts2.config.Configuration implementation class 394u']M
org.apache.struts2.config.Configuration接口名 A~ '2ki5$g
\C
ZiU3
struts.configuration.files B+jT|Y'
A list of configuration files automatically loaded by Struts ynw^nmM
struts自动加载的一个配置文件列表 E,xCfS)
nOkX:5
struts.configuration.xml.reload zr&K0a{hc
Whether to reload the XML configuration or not L-Xd3RCD
是否加载xml配置(true,false) iEr|?,
7_S+/2}U*
struts.continuations.package $P^=QN5Bb
The package containing actions that use Rife continuations Xr:"8FT
含有actions的完整连续的package名称 N ]}Re$5
eoR@5OA&
struts.custom.i18n.resources C]WVH\Pp
Location of additional localization properties files to load (*/P~$xIj
加载附加的国际化属性文件(不包含.properties后缀) N,(@k[uta
vn
.wM
struts.custom.properties 2N5N^S
Location of additional configuration properties files to load ;p BXAl
加载附加的配置文件的位置 XC?H
h"l{cDk
KofjveOiC
struts.devMode KFAB
Whether Struts is in development mode or not 9=rYzA?)+
是否为struts开发模式 \Wt&z,
F`
J(+
struts.dispatcher.parametersWorkaround Kw(/#C:$
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S? r:=GS
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]}ff*W
b= F"
struts.enable.DynamicMethodInvocation L^RyJ;^c
Allows one to disable dynamic method invocation from the URL `*KS`
z?
允许动态方法调用 >6:slNM#
bLCr h(<
struts.freemarker.manager.classname &VR<'^>
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :lgIu .
org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^P"t
"
a+A/l
struts.i18n.encoding BR*""/3`
The encoding to use for localization messages eP&K]#
国际化信息内码 ?
@h
Oq*a4_R'YV
struts.i18n.reload 5Lum$C
c}
Whether the localization messages should automatically be reloaded *%B%BJnX
是否国际化信息自动加载 {
zlq6z
^nkwT~Bya
struts.locale 66:|)
The default locale for the Struts application
6C
r$R]5
默认的国际化地区信息 SK;f#quUQ
@faf
struts.mapper.class 6@H&S
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |8`}yRsQ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 [DGq{(O
A"vI6ud>
struts.multipart.maxSize -
CM;sXq
The maximize size of a multipart request (file upload) WVy"MD
multipart请求信息的最大尺寸(文件上传用) P/nXY
Sl:\5]'yJ
struts.multipart.parser -/#3U{O
The org.apache.struts2.dispatcher.multipart. b'3#FI=:
MultiPartRequest parser implementation for a multipart request (file upload) MMhd -B1O&
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GZI[qKDfB
YlPZa3\
?Z1pPd@
struts.multipart.saveDir f,t[`0 va
The directory to use for storing uploaded files ut3jIZ1]
设置存储上传文件的目录夹 &_q;X;}
um&N|5lHb
struts.objectFactory 5mER&SX
The com.opensymphony.xwork2.ObjectFactory implementation class Rv.W~FE^
com.opensymphony.xwork2.ObjectFactory接口(spring) Ko/_w_
*$`r)pV%AK
struts.objectFactory.spring.autoWire 1 68U-<
Whether Spring should autoWire or not F
b`V.
是否自动绑定Spring oJ6
d:
J)'6 z
struts.objectFactory.spring.useClassCache :JW~$4
Whether Spring should use its class cache or not O~'1)k>
是否spring应该使用自身的cache HFo}r~
[USXNe/
struts.objectTypeDeterminer 7:bqh$3!s
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (9Hc`gd)p
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @3VL
_g:
=%2 E|/
struts.serve.static.browserCache [jAhw>
If static content served by the Struts filter should set browser caching header properties or not cv#H
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 JN|<R%hy
o<V-gS
struts.serve.static g](m& O
Whether the Struts filter should serve static content or not '\_ic=&u
是否struts过滤器应该提供静态内容 2"BlV*\lS
yv$MQ~]
struts.tag.altSyntax Hsp|<;Yg
Whether to use the alterative syntax for the tags or not Qf=%%5+?8
是否可以用替代的语法替代tags Wz=ZhE9g
I]I5!\\ &[
struts.ui.templateDir lFc3 5
The directory containing UI templates }f6.eqBX4
UI templates的目录夹 !p0FJ].g,
@M,KA {e
struts.ui.theme Rw$ @%o%
The default UI template theme [K"v)B'
默认的UI template主题 ^QYI`u` 4
zQ)[re)
struts.url.http.port 1$xt=*.u|
The HTTP port used by Struts URLs jj.]R+.G
设置http端口 T}u '
1$Eiv8xd
struts.url.https.port l#Qf8*0
The HTTPS port used by Struts URLs }$$b6G
设置https端口 @B&hR} 4
b~#rUOXb8?
struts.url.includeParams hR=4w$
The default includeParams method to generate Struts URLs \[,7#
在url中产生 默认的includeParams oiFtPki
n`^</0
*&5G+d2
struts.velocity.configfile (8H^{2K~
The Velocity configuration file path L G=Q
velocity配置文件路径 @]2cL
Crww\#E;
struts.velocity.contexts fF *a/\h %
List of Velocity context names BA-n+WCWJ
velocity的context列表 d]@9kG
0K#dWc}"a
iqOd]H]v
struts.velocity.manager.classname 2V~Yb1P
org.apache.struts2.views.velocity.VelocityManager implementation class B<0lif|
org.apache.struts2.views.velocity.VelocityManager接口名 9ykmz (
sq<y2j1oF
struts.velocity.toolboxlocation }*BY!5
The location of the Velocity toolbox ;{Ovqo|
velocity工具盒的位置 BF]b\/I
struts.xslt.nocache DtZkrj)D/
Whether or not XSLT templates should not be cached pD &\Z~5T
是否XSLT模版应该被缓存 Uel*:c