struts2的struts.properties配置文件详解 hCCiD9gz
I|>^1kr8w
struts.action.extension {U!8|(
The URL extension to use to determine if the request is meant for a Struts action .z
6fv
用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GqWB{$J;"
2W/?q!t
struts.configuration \]=7!RQ\
The org.apache.struts2.config.Configuration implementation class kB/D!1
"
org.apache.struts2.config.Configuration接口名 CZ(/=3,3n
& @s!<9$W
struts.configuration.files KHgBo}6
A list of configuration files automatically loaded by Struts @n(Z$)8tR
struts自动加载的一个配置文件列表
l7W 6qNB
Pdt6nzfr
struts.configuration.xml.reload E0u~i59Z
Whether to reload the XML configuration or not D[^m{ 9_
是否加载xml配置(true,false) 5!l0zLQPo
_{r=.W+w
struts.continuations.package RT)d ]u
The package containing actions that use Rife continuations <z]cyXv/
含有actions的完整连续的package名称 J13>i7]L%
aemc2b*
struts.custom.i18n.resources <4_X P.N
Location of additional localization properties files to load 5#> 8MU?&
加载附加的国际化属性文件(不包含.properties后缀) LM}Ib.
`|,`QqDQ
struts.custom.properties }*lUah,@
Location of additional configuration properties files to load aCQ?fq
加载附加的配置文件的位置 >Y
#t`6,!
3T"j)R_=l
> `n,S
struts.devMode m\$\ 09
Whether Struts is in development mode or not &m|wH4\
是否为struts开发模式 v1%uxthW
g{8,Wx,,
struts.dispatcher.parametersWorkaround 1jN-4&
Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mMb'@
(某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) UG)8D5
QS{1CC9$
struts.enable.DynamicMethodInvocation TYJ:!
Allows one to disable dynamic method invocation from the URL 3~}uqaGt
允许动态方法调用 T{Sb^-H#X
Z$0uH* h
struts.freemarker.manager.classname gA:5M
The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZHGC6a!a
org.apache.struts2.views.freemarker.FreemarkerManager接口名 )=AHf?hn
o3I Tr';
struts.i18n.encoding fRtUvC-#H
The encoding to use for localization messages O)ME"@r@:
国际化信息内码 `t_W2y
,!dh2xNH^
struts.i18n.reload j:E<p_T
Whether the localization messages should automatically be reloaded
KnsT\>[K
是否国际化信息自动加载 J(c{y]` J
YN`H
BFH
struts.locale A-4h
The default locale for the Struts application cfcim.jB
默认的国际化地区信息 _Y8hb!#(
^@qvl%j
struts.mapper.class Y}uCP1v
The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class JMH8MH*
org.apache.struts2.dispatcher.mapper.ActionMapper接口 >TQH|}|6(y
+m8!U=Zi
struts.multipart.maxSize {_S}H1,
The maximize size of a multipart request (file upload) n@U n
multipart请求信息的最大尺寸(文件上传用) f}1&HI8r
:{IO=^D=$
struts.multipart.parser l-ct?T_@
The org.apache.struts2.dispatcher.multipart. &_"]5/"(
MultiPartRequest parser implementation for a multipart request (file upload) ]`&Yqg
专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B
x (uRj
?Rj ~f{%g
_T2=J+"-Kp
struts.multipart.saveDir )('%R|$ /
The directory to use for storing uploaded files Gm(b/qDDe
设置存储上传文件的目录夹 d4nH_?
L
]w/P|
struts.objectFactory GDD '[;
The com.opensymphony.xwork2.ObjectFactory implementation class );Z1a&K5k
com.opensymphony.xwork2.ObjectFactory接口(spring)
9A,^c;
czm&~n6$
struts.objectFactory.spring.autoWire <