Hi ,
 
            I am trying to setup the STRUTS framework source for version
1.2.6 within WSAD5.1. When I try to create any JSP page utilizing the
framework through the STRUTS source I have set up in the same project I
get the following error 
 
[1/22/05 8:40:24:040 IST] 4f8552d4 ActionServlet E
org.apache.struts.action.ActionServlet  The /WEB-INF/web.xml was not
found.
[1/22/05 8:40:24:087 IST] 4f8552d4 ActionServlet E
org.apache.struts.action.ActionServlet  TRAS0014I: The following
exception was logged java.net.UnknownHostException: java.sun.com
      at java.net.InetAddress.getAllByName0(InetAddress.java:591)
at java.net.InetAddress.getAllByName0(InetAddress.java:560)
      at java.net.InetAddress.getByName(InetAddress.java:469)
      at java.net.Socket.<init>(Socket.java:121)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:65)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:361)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:548)
      at sun.net.www.http.HttpClient.<init>(HttpClient.java:296)
      at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
      at sun.net.www.http.HttpClient.New(HttpClient.java:318)
      at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:466)
      at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:562)
      at java.net.URL.openStream(URL.java:826)
      at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.jav
a:748)
      at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.
java:708)
      at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImp
l.java:258)
      at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XML
DocumentScannerImpl.java:833)
      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo
cumentFragmentScannerImpl.java:333)
      at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars
erConfiguration.java:525)
      at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPars
erConfiguration.java:581)
      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
      at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
:1158)
      at org.apache.commons.digester.Digester.parse(Digester.java:1591)
      at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:11
42)
      at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:328)
 
I believe this is happening  within ActionServlet class when it is
trying to parse the web.xml . Could anyone tell me why is this happening
 
With thanks and Regards
Vinod Easaw Varghese
 

Reply via email to