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