struts2的struts.properties配置文件详解 O&52o]k5l
=kF?_K N
struts.action.extension p&QmIX]BZ
The URL extension to use to determine if the request is meant for a Struts action /Go>5B>
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q$|0)}
v10mDr
struts.configuration MN\i-vAL8
The org.apache.struts2.config.Configuration implementation class Z$1.^H.Db
org.apache.struts2.config.Configuration接口名 *b:u*`@
3]!h{_:u
struts.configuration.files Mc!2mE%47m
A list of configuration files automatically loaded by Struts i<J^:7
struts自动加载的一个配置文件列表 e"lD`*U8R
K_Z+]]$#
struts.configuration.xml.reload <3)|44.o&
Whether to reload the XML configuration or not T0s35z9
是否加载xml配置(true,false) x<Iy<v7-
f!mE1,eBEe
struts.continuations.package U{HyxZ|q<
The package containing actions that use Rife continuations g(KK9Unu
含有actions的完整连续的package名称 L!?v BL
Y'2-yB
struts.custom.i18n.resources 4v0dd p
Location of additional localization properties files to load mn(/E/
加载附加的国际化属性文件(不包含.properties后缀) {qY3L8b
@Jkui
struts.custom.properties Bl=nj.g
Location of additional configuration properties files to load a^%8QJW
加载附加的配置文件的位置 $^]
9
gHp'3SnS
(_s;aK
struts.devMode ^8b~ZX
Whether Struts is in development mode or not KSF5)CZ5
是否为struts开发模式 qK{|Q
\)uy"+ Z`
struts.dispatcher.parametersWorkaround jkZ_c!
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &"sX^6t
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,\BfmC_i
7ytm.lU
struts.enable.DynamicMethodInvocation @gs26jX~2}
Allows one to disable dynamic method invocation from the URL _e;N'DZ
允许动态方法调用 jQY>9+t
x&QNP
struts.freemarker.manager.classname (qNco8QKu3
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A"Tc^Ij
org.apache.struts2.views.freemarker.FreemarkerManager接口名 N5[_a/
] dW%g?
struts.i18n.encoding 8W(<q|t
The encoding to use for localization messages LBW.*PHW
国际化信息内码 iSnIBs9\
]R97n|s_
struts.i18n.reload 3FGb Q_
Whether the localization messages should automatically be reloaded Rh!L'?C
是否国际化信息自动加载 l*~"5f03
L#@l(8.
struts.locale Z)C:]}Ex
The default locale for the Struts application $I?=.:<+
默认的国际化地区信息 e-nWD
34"{rMbQ
struts.mapper.class bx+(.F
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ( 1QdZD|
org.apache.struts2.dispatcher.mapper.ActionMapper接口 m~Lf^gbG?
!X \Sp}
struts.multipart.maxSize E#yCcC!wMY
The maximize size of a multipart request (file upload) tXssejiE%
multipart请求信息的最大尺寸(文件上传用) Ws2prh^e(
f]@[4<N y
struts.multipart.parser eyI-s9#t
The org.apache.struts2.dispatcher.multipart. 44Seq
MultiPartRequest parser implementation for a multipart request (file upload) ~EM#Hc,
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8cYuzt]..
5^G7pI7
$ioaunQKP
struts.multipart.saveDir fS;m+ D!j@
The directory to use for storing uploaded files z{ Zimr
设置存储上传文件的目录夹 ; Xnk+
`R4W4h'I
struts.objectFactory DzX6U[=
The com.opensymphony.xwork2.ObjectFactory implementation class {,nd_3"Vq
com.opensymphony.xwork2.ObjectFactory接口(spring) :Su 5
/NPl2\ o.
struts.objectFactory.spring.autoWire Z_eqM4{
Whether Spring should autoWire or not `Z;B^Y0
是否自动绑定Spring ];YglHH
UcKWa>:Fi
struts.objectFactory.spring.useClassCache "9MX,}X*
Whether Spring should use its class cache or not 8ESkG
是否spring应该使用自身的cache ;n:H6cp
(AyRs7Dkn
struts.objectTypeDeterminer LiHXWi{s
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ul5::
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A61-AwvF8-
uMq\];7I
struts.serve.static.browserCache ]9~#;M%1
If static content served by the Struts filter should set browser caching header properties or not t&p:vXF2
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U3VsMV*Y
rsq'60
struts.serve.static 52q!zx E
Whether the Struts filter should serve static content or not l")o!N?
是否struts过滤器应该提供静态内容 [\w>{
=:0IHyB#0
struts.tag.altSyntax 6P/9Vh j'
Whether to use the alterative syntax for the tags or not n=#[Mi $Y
是否可以用替代的语法替代tags f R{WS:Pv
Z)Xq!]~/g
struts.ui.templateDir ,M9hb<:m
The directory containing UI templates
# 8-P
UI templates的目录夹 l*V72!Mv
JqH.QnKcv
struts.ui.theme z;@S_0M,Z
The default UI template theme ;*85'WcS
默认的UI template主题 }~0{1&
iaq:5||,
struts.url.http.port =,}!Ns{k
The HTTP port used by Struts URLs 6b1 Uj<
设置http端口 EZNB`gO
m<VL19o>R
struts.url.https.port s\K-(`j}
The HTTPS port used by Struts URLs D-;43>yi<
设置https端口 H"Em|LX^
XQ?)
struts.url.includeParams fe]T9EDA
The default includeParams method to generate Struts URLs LnACce
?b
在url中产生 默认的includeParams 70 DQ/b
C8%nBa/
wE=8jl*
struts.velocity.configfile ,hcBiL/
The Velocity configuration file path hc~#l #
velocity配置文件路径 l>Oe ,`9O
e[Ul"pMvS`
struts.velocity.contexts zJym`NF
List of Velocity context names JO;`Kz_$
velocity的context列表 8C4@V[sm`
s?gXp{O?X
uc
`rt"
struts.velocity.manager.classname 9=;g4I
org.apache.struts2.views.velocity.VelocityManager implementation class SZ1pf#w!
org.apache.struts2.views.velocity.VelocityManager接口名 Ql!6I (
ckkM)|kK
struts.velocity.toolboxlocation ), x3tTR
The location of the Velocity toolbox 'Y/V9;`)s
velocity工具盒的位置 n$VPh/
struts.xslt.nocache 8*X
L19N
Whether or not XSLT templates should not be cached I5 7<