Здравствуйте, Drusha, Вы писали:
D>Здравствуйте, Аноним, Вы писали:
A>>......
А>> at java.net.InetAddress.getAllByName0(InetAddress.java:566)
А>> at java.net.InetAddress.getAllByName0(InetAddress.java:535)
А>> at java.net.InetAddress.getByName(InetAddress.java:444)
А>> at java.net.Socket.<init>(Socket.java:95)
А>> at sun.net.NetworkClient.doConnect(NetworkClient.java:45)
А>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
А>> at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
А>> at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
А>> at sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
А>> at sun.net.www.http.HttpClient.New(HttpClient.java:289)
А>> at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:417)
А>> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:510)
А>> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
А>> at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
А>> at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
А>> at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
А>> at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
A>>......
D>такое ощущение что xerces полез за DTD в сеть, и у него что то не получилось.
D>Попробуйте вообще убрать ссылку на DTD из struts-config.xml
собственно вот мой web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>Struts Blank Application</display-name>
<!-- Standard Action Servlet Configuration (with debugging) -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- The Usual Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-nested</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
</web-app>
вы имеете ввиду убрать это?
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">