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.6libstruts2-core-2.1.6struts-2.0.dtd

原文地址:https://www.cnblogs.com/welhzh/p/4113439.html