strut.xml配置出现错误的解决方法

1参考地址:The file cannot be validated as the host "struts.apache.org" is currently unreachable.

 

IDE:Eclipse 3.5
解决步骤如下:
Window-->Preferences-->XML-->XML Catalog-->Add...
Location:
    x:\struts-1.3.10-all\struts-1.3.10\src\core\src\main\resources\org\apache\struts\resources\struts-config_1_3.dtd
Key Type:
    Public ID
Key:
    -//Apache Software Foundation//DTD Struts Configuration 1.3//EN
~Specify alternative web address
    http://struts.apache.org/dtds/struts-config_1_3.dtd
为了避免看不懂,特上图

2http://blog.csdn.net/zhichao_liu/article/details/7010716

posted @ 2012-05-22 14:01  高级测试开发网  阅读(504)  评论(0编辑  收藏  举报
了解开发资源最新动态:https://seniortesting.club