struts.xml 文件添加DTD文件

在编辑struts.xml 文件时,“alt + /”无提示信息,需要在myeclipse 中添加消息头中的文件,步骤如下:

1. 选中该段复制

2. Preferences——>XML Catalog——>Add

3. 添加本地 .dtd文件路径

4. done... 如果不行关掉xml文件重启。

 

posted @ 2017-04-15 08:49  雪山上的蒲公英  阅读(498)  评论(0编辑  收藏  举报
/* 返回顶部代码 */