struts2的struts.properties配置文件详解 y=pW+$k
B#hvw'}
struts.action.extension ?f9M59(l
The URL extension to use to determine if the request is meant for a Struts action Ge({sy>X
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &0f/F:M
phG*It}
struts.configuration F3vywN1$,
The org.apache.struts2.config.Configuration implementation class v Cej( ))
org.apache.struts2.config.Configuration接口名 59$PWfi-\
?7pn%_S
struts.configuration.files > dVhIbG
A list of configuration files automatically loaded by Struts tq,^!RSbZ
struts自动加载的一个配置文件列表 w:nH_x#C4
)?OdD7gd
struts.configuration.xml.reload cQxUEY('+
Whether to reload the XML configuration or not :~R a}
是否加载xml配置(true,false) Y,L[0%
X]9<1[f
struts.continuations.package lH?jqp
The package containing actions that use Rife continuations qi~-<qW
含有actions的完整连续的package名称 [(g2u@
2.</n}g
struts.custom.i18n.resources 0827z
Location of additional localization properties files to load h3.CvPYy1
加载附加的国际化属性文件(不包含.properties后缀) g||EjCsp
:FU?vh$)
struts.custom.properties @i> r(X
Location of additional configuration properties files to load Z3MhHvvgp{
加载附加的配置文件的位置 LN(\B:wAY
W4av?H
FZ%h7Oe
struts.devMode gnzg(Y]5w
Whether Struts is in development mode or not WJ-.?
是否为struts开发模式 AvZ5?rN$
Zgp9Uu}"
struts.dispatcher.parametersWorkaround &?Erkc~#
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UW} @oP$r
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7xB]Z;:
|J`v
w
struts.enable.DynamicMethodInvocation R}w}G6"\
Allows one to disable dynamic method invocation from the URL z
&P1C,n)
允许动态方法调用 5m'AT]5Tn_
d3\?:}o,
struts.freemarker.manager.classname 4Dn&+=fq
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t
zd#9 #
org.apache.struts2.views.freemarker.FreemarkerManager接口名 Z5oDj|&l}
_#v"sGmN
struts.i18n.encoding )TVd4s(e
The encoding to use for localization messages "y*3p0E
国际化信息内码 !oXFDC3k
>`&2]Wc)
struts.i18n.reload AfhJ6cSIE
Whether the localization messages should automatically be reloaded PfU\.[l$
是否国际化信息自动加载 #>KiX84
t}I@Rmso
struts.locale >WZbbd-
The default locale for the Struts application w^zqYGxG)
默认的国际化地区信息 zJ(DO>,p&
"
wT?$E
struts.mapper.class xv2c8g~vD
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^/}4M'[ w
org.apache.struts2.dispatcher.mapper.ActionMapper接口 cy(w*5Upu
{T^D&i# o
struts.multipart.maxSize bJ
6ivz
The maximize size of a multipart request (file upload) 6&'kN2
multipart请求信息的最大尺寸(文件上传用) P-[})Z=
!pRu?5
struts.multipart.parser ?[bE/Ya+S
The org.apache.struts2.dispatcher.multipart. 2V%z=
MultiPartRequest parser implementation for a multipart request (file upload) &d6ud|
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) c\>I0HH;!
Z2g<"M
{ Mb<onW
struts.multipart.saveDir ng|^Zm%
The directory to use for storing uploaded files @8`I!fZ
设置存储上传文件的目录夹 3B%7SX
o~y{9Q
struts.objectFactory W;R6+@I[
The com.opensymphony.xwork2.ObjectFactory implementation class XNx$^I=
com.opensymphony.xwork2.ObjectFactory接口(spring) EUI*:JU-
:+>7m
struts.objectFactory.spring.autoWire '?m2|9~
Whether Spring should autoWire or not ipMSMk7gx
是否自动绑定Spring - |DWPU!"
5tkKd4VfL
struts.objectFactory.spring.useClassCache h]~FYY
Whether Spring should use its class cache or not aqqo>O3 s
是否spring应该使用自身的cache
%X\A|V&
Hicd
-'
struts.objectTypeDeterminer F-o?tU
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k kD#Bb
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C[%&;\3S@
Sn'!Nq>
struts.serve.static.browserCache 6y
Muj<L
If static content served by the Struts filter should set browser caching header properties or not '3^ qW
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RAhDSDf
Wz R)R9x]
struts.serve.static ^J-Xy\X
Whether the Struts filter should serve static content or not |[5;dt_U/
是否struts过滤器应该提供静态内容 2
KHT!ik
oI`Mn3N
struts.tag.altSyntax 1; kMbl]
Whether to use the alterative syntax for the tags or not 8;"%x|iBoL
是否可以用替代的语法替代tags 9?hF<}1XH}
tvVf)bbz
struts.ui.templateDir H!}L( gjEG
The directory containing UI templates z}-R^"40
UI templates的目录夹 D}}?{pe
>*O5Ry:4
struts.ui.theme d)biMI}<5
The default UI template theme rq7yNt
默认的UI template主题 3k>#z%//
!wd
wo0
struts.url.http.port wDoCc:
The HTTP port used by Struts URLs (t5y$bc
设置http端口 }yrs6pQ
&