struts2的struts.properties配置文件详解 ]+\;pb}bq
p&~8N#I#
struts.action.extension 4<g,L;pUU
The URL extension to use to determine if the request is meant for a Struts action *m6~x-x
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Rl90uF]8
.E}fk,hLB
struts.configuration p'z
fo!
The org.apache.struts2.config.Configuration implementation class [F{q.mZj
org.apache.struts2.config.Configuration接口名 U86bn(9K
N@Pf \D
struts.configuration.files !j[Oyr|
A list of configuration files automatically loaded by Struts FJJ+*3(
struts自动加载的一个配置文件列表 ``KimeA~
w&<-pIa`
struts.configuration.xml.reload W@U<GF1
Whether to reload the XML configuration or not &?C%
-"|c
是否加载xml配置(true,false) j xB
|^p7:)cy
struts.continuations.package <nDuN*|
The package containing actions that use Rife continuations pv);LjF
含有actions的完整连续的package名称 yop,%Fe
tDn{;ED<
struts.custom.i18n.resources "cSH[/
Location of additional localization properties files to load GBnf]A,^@
加载附加的国际化属性文件(不包含.properties后缀) 6t@kft>Nv
I-oY@l`
struts.custom.properties %%`Q5I
Location of additional configuration properties files to load ~nO]R
加载附加的配置文件的位置 Hw[(v[v
a&oz<4oT
K[}5bjh>
struts.devMode PNVYW?l
Whether Struts is in development mode or not (
-^-
是否为struts开发模式 ^APPWQUl
XL!\Lx
struts.dispatcher.parametersWorkaround .3Ex=aQcX
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <_XyHb-
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e<F>u#d
ErZYPl
struts.enable.DynamicMethodInvocation U Px7u%Do
Allows one to disable dynamic method invocation from the URL )Pr*\<Cld
允许动态方法调用 xF|P6GXg
,c3gW2E
struts.freemarker.manager.classname <zUU`
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~+ _|J"\
org.apache.struts2.views.freemarker.FreemarkerManager接口名 PeCU V6
ZWJ%t'kF
struts.i18n.encoding qU!xh)
The encoding to use for localization messages :yPA6O 4
国际化信息内码 2@!Ou $W
FUy!j|W6f
struts.i18n.reload #Z%?lx"Q0
Whether the localization messages should automatically be reloaded ]<y _
=>
是否国际化信息自动加载 M? 7CBqZ
(y^[k {#
struts.locale Hzos$1DJ
The default locale for the Struts application sT&O %(
默认的国际化地区信息 ~Ey)9phZK
`8 Q3=^)3
struts.mapper.class OXT'$]p.*
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LojEJ
org.apache.struts2.dispatcher.mapper.ActionMapper接口 {/Mz/|%
k2]Q~
struts.multipart.maxSize 'j6)5WL$
The maximize size of a multipart request (file upload) BNA` Cc1VV
multipart请求信息的最大尺寸(文件上传用) L H>oG$a
Y@&1[Z
struts.multipart.parser {u7%Z}<0
The org.apache.struts2.dispatcher.multipart. W
PDL$y
MultiPartRequest parser implementation for a multipart request (file upload) (t^&L
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
Z.!tp
c5KJ_Nfi
'a&( r;
struts.multipart.saveDir WnATgY t
The directory to use for storing uploaded files ,B^NH7A:
设置存储上传文件的目录夹 |dP[_nh?
P:`tL)W_
struts.objectFactory S`N_},
The com.opensymphony.xwork2.ObjectFactory implementation class I $5*Puy#
com.opensymphony.xwork2.ObjectFactory接口(spring) u0&
aw
KN41kkN
struts.objectFactory.spring.autoWire P5&mpl1
Whether Spring should autoWire or not gy%/zbZx
是否自动绑定Spring fF~3"!1#\I
'Dh+v3O
struts.objectFactory.spring.useClassCache
*jAw
Whether Spring should use its class cache or not ^+v6?%m
是否spring应该使用自身的cache M=HP!hn
%cPz>PTW@
struts.objectTypeDeterminer {e>E4(
The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dcK7Dd->
com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R^nkcLFb/q
`63?FzTy
struts.serve.static.browserCache AX
{~A:B
If static content served by the Struts filter should set browser caching header properties or not h` 1{tu
是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5)}3C_pmW
d;Uzl1;
struts.serve.static f]P&>j|
Whether the Struts filter should serve static content or not N[(ovr
是否struts过滤器应该提供静态内容 .:<-E%
|C MKY
struts.tag.altSyntax EPY64{
Whether to use the alterative syntax for the tags or not _A8x{[$
是否可以用替代的语法替代tags ]i}3`e?
zsQhydTR
struts.ui.templateDir <