Struts中扫描包的层数问题
Struts总配置文件在扫描Struts组件的时候常常采用include方法,那么需要注意一些问题。
看这个include
<include color:#ff0000;">*/*.xml"></include>
可以扫描到的是 config.struts.xy.student.xml
不可以扫描到的是 config.struts.studnet.xml
因为struts下面还有一个/*,表示还有一层。
最后更新:2017-04-02 16:47:42