Struts2配置文件加载顺序

来源:互联网 发布:淘宝宝贝属性怎么填 编辑:程序博客网 时间:2024/05/16 15:32

从先到后的顺序如下:
struts-default.xml
struts-plugin.xml
struts.xml
struts.properties
web.xml


建议,要覆盖默认配置,都在struts.xml中去覆盖;

不建议使用struts.properties;

0 0
原创粉丝点击