閱讀602 返回首頁    go 阿裏雲 go 技術社區[雲棲]


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

  上一篇:go Android ActionBar Tabs學習筆記
  下一篇:go oracle和sql server取第一條記錄的區別以及rownum詳解