struts2的struts.properties配置文件详解 ,-D3tleu`
b{_J%p
struts.action.extension 2{(_{9<>z
The URL extension to use to determine if the request is meant for a Struts action it \3-
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ("?V|
><^
,
struts.configuration @w?hXK=
The org.apache.struts2.config.Configuration implementation class icH\(
org.apache.struts2.config.Configuration接口名 ^i:%0"[*^i
qi!+Ceo}
struts.configuration.files Dwn.0|E
A list of configuration files automatically loaded by Struts 'b~,/lZd
struts自动加载的一个配置文件列表 DJR_"8
|U)M.\h
struts.configuration.xml.reload f<?v.5($
Whether to reload the XML configuration or not MDAJ
p>o
是否加载xml配置(true,false) ;Lr]w8d
B^nE^"b
struts.continuations.package *d b,N'rK
The package containing actions that use Rife continuations fgdqp8~
含有actions的完整连续的package名称 h8'`g 0
bL-+
struts.custom.i18n.resources dD ?ZF6
Location of additional localization properties files to load NSI$uS6
加载附加的国际化属性文件(不包含.properties后缀) GKIO@!@[
OlI|.~
struts.custom.properties >cJf D9-<h
Location of additional configuration properties files to load j`7q7}
加载附加的配置文件的位置 Bq@_/*'*Y
bi~1d"j
}hRw{#*8
struts.devMode ozB2L\D7
Whether Struts is in development mode or not 9vZ:oO
是否为struts开发模式 =#0f4z
ZMEU4?F
struts.dispatcher.parametersWorkaround ~>SqJ&-moo
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic :Y>FuE
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hh#p=Y(f
9X/]O<i,Es
struts.enable.DynamicMethodInvocation Kjzo>fIC{
Allows one to disable dynamic method invocation from the URL PUcxlD/a}
允许动态方法调用 &PZ&'N|P
i24t$7q
struts.freemarker.manager.classname eCFMWFhC
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class maTQ0GX
org.apache.struts2.views.freemarker.FreemarkerManager接口名 4 ))Z Bq?
A*^aBWFR
struts.i18n.encoding /F@CrNFb(
The encoding to use for localization messages 4 '"C8vw.
国际化信息内码 (P'{A>aHl0
bY&!d.
struts.i18n.reload 8n??/VDRl
Whether the localization messages should automatically be reloaded X)Zc*9XA
是否国际化信息自动加载 |r['"6
XCvL`
struts.locale Cg_9V4h.C
The default locale for the Struts application u'`eCrKT*
默认的国际化地区信息 ;|U
!\Xp
!:baG]Y
struts.mapper.class *{DpNV8"
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class duQ,6
org.apache.struts2.dispatcher.mapper.ActionMapper接口 #;D@`.#\
'2XIeR
struts.multipart.maxSize sD#*W<
The maximize size of a multipart request (file upload) m)Ta5w^
multipart请求信息的最大尺寸(文件上传用) 3LRBH+Tt
N1iP!m9Q
struts.multipart.parser 6U9FvPJ
The org.apache.struts2.dispatcher.multipart. 1Be/(pSc
MultiPartRequest parser implementation for a multipart request (file upload) m941 Y
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vB<9M-sa0
{:]u 6l
\Vb|bw'e(
struts.multipart.saveDir V9Pw\K!w#\
The directory to use for storing uploaded files 2:oAS
设置存储上传文件的目录夹 y=!7PB_\|
%\^VxM
struts.objectFactory L;h|Sk]{
The com.opensymphony.xwork2.ObjectFactory implementation class fDjJdRS"
com.opensymphony.xwork2.ObjectFactory接口(spring) 4v.{C"M
jZr"d*Y
struts.objectFactory.spring.autoWire ]$~\GE^
Whether Spring should autoWire or not I
>aKa
是否自动绑定Spring dOX"7kZ
?k`UQi]Q
struts.objectFactory.spring.useClassCache 'D'H)J
Whether Spring should use its class cache or not "O~7s}
是否spring应该使用自身的cache vN&(__3((
;oCSKY4
struts.objectTypeDeterminer |_njN
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S ^]mF>xX8
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1 HY
K&
',
9+#BU$*v
struts.serve.static.browserCache :Z%-&)F
If static content served by the Struts filter should set browser caching header properties or not xL [3R
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mor[AJ
p(>D5uN_}5
struts.serve.static s}q tM.^W
Whether the Struts filter should serve static content or not p~WX\;
是否struts过滤器应该提供静态内容 ,n{R,]y\
xc}kDpF=g
struts.tag.altSyntax f|6 Y
Whether to use the alterative syntax for the tags or not `*WzHDv5p
是否可以用替代的语法替代tags ^P|Zze
zwU
}_=h]|6t
struts.ui.templateDir NY?pvb
The directory containing UI templates 'i<%kL@
UI templates的目录夹 &$bcB]C\3
'>cZ7:
struts.ui.theme 068DC_
The default UI template theme :.=#U
默认的UI template主题 XTJA"y
"m>BE
struts.url.http.port 4Ss*h,Y
The HTTP port used by Struts URLs `m}G{ jfk
设置http端口 Y0yu,
~p?D[]h
struts.url.https.port V%'' GF
The HTTPS port used by Struts URLs L 8J] X7
设置https端口 Ax6zx
.=N ?;i
struts.url.includeParams )# v}8aL
The default includeParams method to generate Struts URLs OP|X-
在url中产生 默认的includeParams IdoS6
!5
?<QKOe
3N?"s1U
struts.velocity.configfile iUbcvF3aP
The Velocity configuration file path iD.p KG
velocity配置文件路径 dTWcn7C
]?T,J+S
struts.velocity.contexts RdB,;Um9f
List of Velocity context names fI,2l
velocity的context列表 tn;Uaw
8=)9ZjfD
_\<TjGtG
struts.velocity.manager.classname [e>2HIS,
org.apache.struts2.views.velocity.VelocityManager implementation class 7+Er}y>
org.apache.struts2.views.velocity.VelocityManager接口名 F. I\?b
EMPujik-
struts.velocity.toolboxlocation 9"?;H%.
The location of the Velocity toolbox ~l('ly
velocity工具盒的位置 ~7gFddi=i
struts.xslt.nocache X4L@|"ZI
Whether or not XSLT templates should not be cached \0K&2'
是否XSLT模版应该被缓存 M< H+$}[