eclipse配置struts.xml自动提示

a)window – preferences – xml - xml catalog –> add
 b)选择key type为URI
 c)key: http://struts.apache.org/dtds/struts-2.0.dtd
 d)location: 对应的dtd文件,位于struts-core包中,解压开,指定相应位置,如:struts-2.1.6\lib\struts2-core-2.1.6\struts-2.0.dtd

posted @ 2014-11-21 17:35  微信公众号--共鸣圈  阅读(174)  评论(0编辑  收藏  举报