The moose likes XML and Related Technologies and the fly likes DTD location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "DTD location" Watch "DTD location" New topic

DTD location

Pavan Tummala
Ranch Hand

Joined: Dec 25, 2004
Posts: 74
I have an xml file to be parsed at a location outside my application.
I want to place the DTD for the file inside the application not in the directory where the xml file is dropped.
How do I do this? Where can the dtd go? APP-INF?

If Java had true garbage collection, most programs would delete themselves upon execution -- Robert Sewell
I agree. Here's the link:
subject: DTD location
It's not a secret anymore!