struts2的struts.properties配置文件详解 H !u:P?j@\
k5YDqGn'q
struts.action.extension c`QsKwa
The URL extension to use to determine if the request is meant for a Struts action U\{Z{F%8
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ENzeVtw0
$@j7VPE
struts.configuration BoqW;SG$9
The org.apache.struts2.config.Configuration implementation class r%9Sx:F
org.apache.struts2.config.Configuration接口名 !
N p
oH0\6:S
struts.configuration.files )%7A. UO)
A list of configuration files automatically loaded by Struts jp]JFh;3
struts自动加载的一个配置文件列表 AtOB'=ph*
ez>@'yhK
struts.configuration.xml.reload )J0VB't
Whether to reload the XML configuration or not t;'.D @
是否加载xml配置(true,false) _HQa3wj
KWo)}m*6
struts.continuations.package M{QNpoM
The package containing actions that use Rife continuations HPQ ,tlp6j
含有actions的完整连续的package名称 @\R)k(F
`L>'9rbZO
struts.custom.i18n.resources elN3B91\6r
Location of additional localization properties files to load t}nRW o
加载附加的国际化属性文件(不包含.properties后缀) ;Z*RCuwg
d\f5\Y
struts.custom.properties ;xc
Location of additional configuration properties files to load 6eD[)_?]y
加载附加的配置文件的位置 TxWjgW~
;`+,gVrp
HChewrUAn
struts.devMode 7d*<'k]{,
Whether Struts is in development mode or not s7?kU3y=s
是否为struts开发模式 |D~MS`~qd5
Ft}tIP7
struts.dispatcher.parametersWorkaround wSK?mS6
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C&T3vM
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ElAG~u?
e|LXH/H
struts.enable.DynamicMethodInvocation ORoraEK
Allows one to disable dynamic method invocation from the URL 5a/)|
允许动态方法调用 h(sD] N
rSk $]E ]Z
struts.freemarker.manager.classname JoYzC8/r
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?cvv!2B]T
org.apache.struts2.views.freemarker.FreemarkerManager接口名 x1~`Z}LX0
b/EvcN8 }
struts.i18n.encoding )+G(4eIT
The encoding to use for localization messages Q7\Ax0
国际化信息内码 jDoWSYu4tY
\Mi< ROp5
struts.i18n.reload N?XN$hwdZ
Whether the localization messages should automatically be reloaded w <ID<
是否国际化信息自动加载 Ou%>Dd5|?
bCF63(0
struts.locale a
srkuAS
The default locale for the Struts application KlPH.R3MPO
默认的国际化地区信息 jc<3\ 7
Z%Gvf~u
struts.mapper.class OW>U5 \q
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8/CGg_C1
org.apache.struts2.dispatcher.mapper.ActionMapper接口 9(_/jU4mc
f`%k@\
struts.multipart.maxSize MouYZI)
The maximize size of a multipart request (file upload) wg_Z!(Hr#
multipart请求信息的最大尺寸(文件上传用) 0-9&d(L1g
s$en5)
struts.multipart.parser
0c{N)
The org.apache.struts2.dispatcher.multipart. Km?i{TW
MultiPartRequest parser implementation for a multipart request (file upload) p,+~dn;=
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &}FYz8w 2/
H{BjxZ~)
%lPP1
R
struts.multipart.saveDir DM&"oa50
The directory to use for storing uploaded files #FcYJH
设置存储上传文件的目录夹 oAL-v428
X DX_c@U
struts.objectFactory TCEbz8ql
The com.opensymphony.xwork2.ObjectFactory implementation class ;@L#0
com.opensymphony.xwork2.ObjectFactory接口(spring) ObCwWj^qO
38#(ruv
struts.objectFactory.spring.autoWire bQ)r8[o!
Whether Spring should autoWire or not "@n$(-.
是否自动绑定Spring Dt ?Fs
bchhokH
struts.objectFactory.spring.useClassCache Di6:r3sEO
Whether Spring should use its class cache or not QUNsS9
是否spring应该使用自身的cache Nl+2m4
<L-L}\-I"
struts.objectTypeDeterminer P(4[<'HO
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class O ?4V($
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q,$x6YwE
?`r/_EKNv
struts.serve.static.browserCache fq(e~Aqw$
If static content served by the Struts filter should set browser caching header properties or not f6XWA_[i@
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uO6_lOT9n
S8y4 p0mV
struts.serve.static ";~#epPkX
Whether the Struts filter should serve static content or not /[q@=X&
是否struts过滤器应该提供静态内容 ,[~EThcq
*<@
struts.tag.altSyntax `/U:u9H9v
Whether to use the alterative syntax for the tags or not 8_lD*bEt
是否可以用替代的语法替代tags 4MIVlg9
x83XJFPWL
struts.ui.templateDir i8{jMe!Sa
The directory containing UI templates 5&>(|Y~I
UI templates的目录夹 0jXIx2y
Q6BWax|
struts.ui.theme -K0tK~%q
The default UI template theme exhF5,AW|K
默认的UI template主题 Qhr:d`@^]
arB$&s
struts.url.http.port zumRbrz
The HTTP port used by Struts URLs K5KN}sRs"
设置http端口 , ^nUi c
+bXZE
struts.url.https.port p)oW'#@a
The HTTPS port used by Struts URLs BYY>;>V
设置https端口 23=;v@
YmwVa
s
struts.url.includeParams O []+v
The default includeParams method to generate Struts URLs qgDBu\
在url中产生 默认的includeParams 1pn167IQL
AL;"S;8
rQWft r^
struts.velocity.configfile {ys_uS{c*
The Velocity configuration file path kO.rgW82
velocity配置文件路径 ._yr7uY[M
%~h'#S2X(
struts.velocity.contexts HwcGbbX)
List of Velocity context names eAqQ~)8^
velocity的context列表 'e&4#VLH^
FLWz7Rj
:!/}*B
struts.velocity.manager.classname <Z&gAqj 2
org.apache.struts2.views.velocity.VelocityManager implementation class XBc+_=)$
org.apache.struts2.views.velocity.VelocityManager接口名 }bHpFe
uJWX7UGuz
struts.velocity.toolboxlocation HGKm?'['
The location of the Velocity toolbox =19]a
velocity工具盒的位置 "P|G^*"~2
struts.xslt.nocache 1#@'U90xf
Whether or not XSLT templates should not be cached }QI*Ns
是否XSLT模版应该被缓存 `A'*x]l