Why do I get the error: SAX parser fatal error: External entity
not found: "http://java.sun.com/dtd/web-app_2_3.dtd"?  Benoit
Quintin  [This happens because Sun's Web site is down, so the
servlet engine can't find the remote copy of the web.xml DTD at
that URL.]  Well, you can download the dtd and point the
document reference inside web.xml to the local copy, I suppose.
[You can also "inline" the DTD by replacing the reference with
the literal text of the DTD. See this web.xml file for an
example.  Finally, you could attempt to turn off DTD validation
in the XML parser, but not all servlet engines allow you to
configure the XML parser they use to parse web.xml.   0
Comments  (click to add your comment) Comment and Contribute
About | Sitemap | Contact