Originally posted by Rajendra Auradkar:
The DTD is not in the war.
My point was, if you have a WAR file from which the web app is running, then your DTDs would need to be in it, in the same "folder" as the XML files for that (1st version) doctype to work. Don't use the 2nd version, as that would force every deployment to have a physical directory named what you specified there.