I am having trouble parsing a web.xml file using SAX.  The war file will
deploy with no hassles, however, I am writing a local program that will
allow me to change the web.xml file locally before distribution.

 

My problem is the DTD definition in the web.xml file.  I require the DTD
file definition, yet when I try and parse the file with the DTD definition,
I keep getting a connection timeout error.  When I remove the DTD
definition, the file is parsed with no issues.

 

How do I get around the timeout issue when parsing the web.xml file with the
DTD definition?

 

The DTD definition is:

 

<!DOCTYPE web-app

    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

    "http://java.sun.com/dtd/web-app_2_3.dtd";>

 

Regards,

Andrew

Reply via email to