java.net.UnknownHostException: struts.apache.org
struts-config.xml如下配置
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
本地能够运行,好象上网就会报
ERROR [ActionServlet] Parsing error processing resource path
java.net.UnknownHostException: struts.apache.org
后来换了个头
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
原来 项目是struts1.1的,后来改为1.2了,就出现这个问题,居然和网络环境有关,我晕死.