Hi all, I am accessing information configured in an XML file using DOM (in a web application).
I have created a DTD to validate the XML file. I have put the DTD in the /WEB-INF directory of my web app.
The code that parses the xml from within my web app is not able to locate the DTD during validation.
When I specify the location of the DTD on my file syste e.g. C:\myDTD.dtd, the app is able to locate it but when the location is /WEB-INF/myDTD.dtd, it is not able to.
I have the following questions: 1. How can I specify in my DOCTYPE that the DTD is located in the WEB-INF directory? 2. Do I need to do anything specific in the code to make the DTD availible to the xml processing code in the web app?