[jdom-interest] DOCTYPE Problem

Jesus Barbero Rodriguez jbarbero at quiter.com
Thu Oct 31 09:02:13 PST 2002

Hello all!!

I'm a spanish developer. I have do a getaway with tomcat, jdom etc etc. I 
need change the web.xml file of my webapp. I have a problem. This file has 
a DocType like this:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

When i try to parse the document, thow SAXException:

org.jdom.JDOMException: Error on line 2: Entidad externa no encontrada: 
"http://java.sun.com/dtd/web-app_2_3.dtd".: Connection refused: connect

         at org.jdom.input.DOMBuilder.build(DOMBuilder.java:278)

         at org.jdom.input.DOMBuilder.build(DOMBuilder.java:307)


I can't connect because i haven't got Internet connection.
I need build this document and i can't do it!!!!

Please, someone can help me, please??

After a week, I haven't could solve this problem.

thanks for all

PD: I can't delete the doctype because if i do it, tomcat not open the web.xml.

PD2: Sorry for my bad english :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20021031/8563fe4f/attachment.htm

More information about the jdom-interest mailing list