struts2的struts.properties配置文件详解 ?LwBF;Y
K Y=$RO
struts.action.extension -4;$NiB?
The URL extension to use to determine if the request is meant for a Struts action vWs#4JoG
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {%&!x;%
59@PY! c>
struts.configuration S/2lK*F
The org.apache.struts2.config.Configuration implementation class _+aMP=H
org.apache.struts2.config.Configuration接口名 1(diG&
Q?g#?z&Pu\
struts.configuration.files _ ;!$1lM[
A list of configuration files automatically loaded by Struts ja-,6*"k
struts自动加载的一个配置文件列表 b_&KL_vo{|
znkc@8_4
struts.configuration.xml.reload p=d,kY
Whether to reload the XML configuration or not Y9SaYSX
是否加载xml配置(true,false) <Od5}
(g*mC7 HN
struts.continuations.package y0R9[;b07
The package containing actions that use Rife continuations * YR>u@
含有actions的完整连续的package名称 gj@>9
Bo4MoSF}
struts.custom.i18n.resources nK8IW3fX9)
Location of additional localization properties files to load Y(/y,bJ?jp
加载附加的国际化属性文件(不包含.properties后缀) EJid@
uBUT84i
struts.custom.properties v[b|J7k
Location of additional configuration properties files to load i"h~QEE
加载附加的配置文件的位置 o'KBe%@/
:#zVF[Y(2
sPP(>y( \
struts.devMode &-c{
Whether Struts is in development mode or not
oB8LJZ;
是否为struts开发模式 ml1My1
mD_sf_2>
struts.dispatcher.parametersWorkaround ?X'l&k>
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NtDxwzj
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) dsG:DS`q
wZs jbNf`K
struts.enable.DynamicMethodInvocation ZWb\^N
Allows one to disable dynamic method invocation from the URL <ht^Ck
允许动态方法调用 K&{ruHoKB
S] R.:T_%
struts.freemarker.manager.classname E5X#9;U8E"
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <"z9(t(V\%
org.apache.struts2.views.freemarker.FreemarkerManager接口名 hcT5> w[
?~9o2[
struts.i18n.encoding ?58*#'r
The encoding to use for localization messages iGw\A!}w\
国际化信息内码 ,opS)C$
rNl%I@G
struts.i18n.reload ]^6r7nfR6|
Whether the localization messages should automatically be reloaded %%{f-\-7Ig
是否国际化信息自动加载 (,j~s{
6[3>[ej:x
struts.locale j\\uW)ibG
The default locale for the Struts application Vwpy/5Hmp
默认的国际化地区信息 K9_@[}Ge
lhBu?q
struts.mapper.class (J5M+K\H
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u|sdQ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 R/\ qDY,@
;8Ts
struts.multipart.maxSize Ewa/6=]LA
The maximize size of a multipart request (file upload) (r-8*)Qh8
multipart请求信息的最大尺寸(文件上传用) LJwy,-
_X~xfmU
struts.multipart.parser }Sh3AH/
The org.apache.struts2.dispatcher.multipart. bcUa'ZfN<
MultiPartRequest parser implementation for a multipart request (file upload) ?hOvY)
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `s\E"QeZN
o9+fAH`D
We@wN:
struts.multipart.saveDir J l
fIYf~
The directory to use for storing uploaded files @ [<B:Tqo
设置存储上传文件的目录夹 'R
nvQ""
d:g0XP
struts.objectFactory 2rrC y C
The com.opensymphony.xwork2.ObjectFactory implementation class X_ (n
com.opensymphony.xwork2.ObjectFactory接口(spring) jMP;$w
>/9Qgyc0
struts.objectFactory.spring.autoWire ~mvD|$1z
Whether Spring should autoWire or not a\xf\$Ym
是否自动绑定Spring X8 A$&