读书人

struts2 标签自动提醒

发布时间: 2012-10-06 17:34:01 作者: rapoo

struts2 标签自动提示
myeclipse6不提示struts2标签 ,是因为6没有融合struts2可以自己手动添加dtd让它提示,操作:

window->preferences->MyEclipse->Files and Editors->XML->XML Catalog
点开这个XML Catalog选中第一个User Sepecified Entries 点Add按钮
弹出一个窗口,在Location里面添加struts2的DTD文件目录,
key Type选择URI,
Key 添加struts2中的DTD的头信息中的URL即
http://struts.apache.org/dtds/struts-2.0.dtd
这样就会提示了 1 楼 wu_yong988 2010-11-19 为方便以后大家查到此帖时遇到问题,
提示:注意 使用默认 xml编辑器,否则不自动提示
收藏!

读书人网 >软件架构设计

热点推荐