MyEclipse中手工添加dtd支持

1.先下载好相应的dtd文件,如struts-2.3.dtd

2.打开MyEclipse,Window->Preferences 在搜索框中输入"XML Catalog"

3.选择User Specified Entries->Add

4.Location: E:\workspace\DTD\struts-2.3.dtd (dtd文件所在位置)
Key type: URL
Key : http://struts.apache.org/dtds/struts-2.3.dtd (打开struts-2.3.dtd文件,里面有地址链接)

5.OK确认应用

posted on 2017-06-17 12:50  小明在线  阅读(177)  评论(0编辑  收藏  举报

导航