struts2的struts.properties配置文件详解 HIc;Lc8$
SD^::bH
struts.action.extension c,r6+oX
The URL extension to use to determine if the request is meant for a Struts action
nOPB*{r|
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =78y*`L
>GIQT?O6
struts.configuration QT%`=b
The org.apache.struts2.config.Configuration implementation class Z?eTjkNS#
org.apache.struts2.config.Configuration接口名 w:
BJ4bi=
._0$#J S[
struts.configuration.files D+!T5)>(
A list of configuration files automatically loaded by Struts K}cZK
struts自动加载的一个配置文件列表 l -XfUjJ
Qr
R+3kxM
struts.configuration.xml.reload <sC(a7i1
Whether to reload the XML configuration or not fQ 9af)d
是否加载xml配置(true,false) )zWu\JRp
DNmC
struts.continuations.package \Q#pu;Y*N]
The package containing actions that use Rife continuations Zna6-0o
含有actions的完整连续的package名称 ~;HASHu
?*~
~Ok
struts.custom.i18n.resources r.?dT |A
Location of additional localization properties files to load a0ms9%Y;Q[
加载附加的国际化属性文件(不包含.properties后缀) pss')YP.
UT@Qo}:
struts.custom.properties tXzuP_0
Location of additional configuration properties files to load efyEzL
加载附加的配置文件的位置 >(2;(TbQm0
5i6Ji(
)P7oL.)
struts.devMode #sU>L=
Whether Struts is in development mode or not w?D=
是否为struts开发模式 8;qOsV)UDT
mg*iW55g
struts.dispatcher.parametersWorkaround NkUY_rKPb
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F42^Uoaz
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !IJ
YaQ6z
r`ftflNh(
struts.enable.DynamicMethodInvocation IYe[IHny1
Allows one to disable dynamic method invocation from the URL &DQ_qOKD
允许动态方法调用 s3Bo'hGxG
hzAuj0-A
struts.freemarker.manager.classname x<t?Yc9
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 67/@J)z0%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 pp|$y\ZzB
6U).vg<
struts.i18n.encoding T7qp ({v?Q
The encoding to use for localization messages &kf \[|y
国际化信息内码 R Q8"vF#
x6aVNH=
struts.i18n.reload &LV'"2ng8
Whether the localization messages should automatically be reloaded Z&@P<
是否国际化信息自动加载 {U9{*e$=
*=md!^x`
struts.locale 7IUJHc[R?
The default locale for the Struts application [?6+ r
默认的国际化地区信息 G9S3r3
l )r^|9{
struts.mapper.class 0]ai*\,W7~
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class yu#m6K
org.apache.struts2.dispatcher.mapper.ActionMapper接口 E.C=VfBW
\HD:#a
struts.multipart.maxSize Uvk:
The maximize size of a multipart request (file upload) |s#,^SJ0
multipart请求信息的最大尺寸(文件上传用) t^bh2$J
iJZvVs',
struts.multipart.parser :"Vmy.xq
The org.apache.struts2.dispatcher.multipart. L]YJ#5
MultiPartRequest parser implementation for a multipart request (file upload) E\2f"s
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) % M_F/ O
ybf,pDY#f
pvWNiW:~k
struts.multipart.saveDir ^!m%:r7Dr
The directory to use for storing uploaded files 3
JlM{N6+
设置存储上传文件的目录夹 pl}W|kW}
nF-l4 =
struts.objectFactory B8wGWZ@
The com.opensymphony.xwork2.ObjectFactory implementation class u$qasII
com.opensymphony.xwork2.ObjectFactory接口(spring) 'QpDx&~QP
HII@Ed f?
struts.objectFactory.spring.autoWire #m{F*(%
Whether Spring should autoWire or not U*EBH
是否自动绑定Spring 4tkb7D
q
,A#gF_8
struts.objectFactory.spring.useClassCache KsTE)@F:
Whether Spring should use its class cache or not 9r:|u:i7m
是否spring应该使用自身的cache \1u^?cBd
\0*dKgN
struts.objectTypeDeterminer _+Z;pt$C
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WM9({BZ
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;<MHl[jJD
4<EC50@.
struts.serve.static.browserCache {Zs
EYUP
If static content served by the Struts filter should set browser caching header properties or not njNqUo>
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v)vogtAQa
(\'lV8}U
struts.serve.static E.B6u, Te
Whether the Struts filter should serve static content or not (Ms0pm-#t
是否struts过滤器应该提供静态内容 75h]#k9\
?`:+SncI"b
struts.tag.altSyntax M )v='O<H8
Whether to use the alterative syntax for the tags or not Z@ec}`UO|u
是否可以用替代的语法替代tags fHuWBC_YO
un`4q-S7
struts.ui.templateDir X~*/ ~f
The directory containing UI templates iDCQqj`
UI templates的目录夹 !(S.7#-r
oh:.iL}j
struts.ui.theme ?:5/4YC
The default UI template theme (s+}l?
默认的UI template主题 )*}?EI4.
y2B'0l
struts.url.http.port s=R^2;^
The HTTP port used by Struts URLs OSJL,F,
设置http端口 M?m@o1\;W
do l8O
struts.url.https.port fn5!Nr ,
The HTTPS port used by Struts URLs SJ,];mC0
设置https端口 R-k~\vCW
vgn,ZcX
struts.url.includeParams x9]vhR/av
The default includeParams method to generate Struts URLs A0ZU #"'/
在url中产生 默认的includeParams ASSe;+yp
?5[$d{ Gjl
!6 kn>447Y
struts.velocity.configfile &`g^b^i
The Velocity configuration file path H-%
B<7
velocity配置文件路径 WxJaE;`Ige
%4wHiCOg
struts.velocity.contexts Nah\4-75&
List of Velocity context names 8yswi[
velocity的context列表 R<r,&X?m
QqC-ztz
R2Q1Rk#
struts.velocity.manager.classname =QwT)KRB%
org.apache.struts2.views.velocity.VelocityManager implementation class (AG((eV
org.apache.struts2.views.velocity.VelocityManager接口名 &jrc]
#A~7rH%hi
struts.velocity.toolboxlocation 5sB~.z@
The location of the Velocity toolbox nx!+:P ,
velocity工具盒的位置 T#}"?A|
struts.xslt.nocache |lIgvHgg
Whether or not XSLT templates should not be cached NiVZ=wEp,
是否XSLT模版应该被缓存 U]M5&R=?