今天发现在编写struts.xml的时候发现eclipse不提示了,配置方法如下:
window——》preferences——》xml——》xml catalog
点击add添加
location中点击file system在struts-2.2.3.1/src/core/src/main中找到struts-2.0.dtd文件添加进去
key type选uri
key添加:http://struts.apache.org/dtds/struts-2.0.dtd
确定之后,问题解决
今天发现在编写struts.xml的时候发现eclipse不提示了,配置方法如下:
window——》preferences——》xml——》xml catalog
点击add添加
location中点击file system在struts-2.2.3.1/src/core/src/main中找到struts-2.0.dtd文件添加进去
key type选uri
key添加:http://struts.apache.org/dtds/struts-2.0.dtd
确定之后,问题解决