File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes setting dtds path in deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "setting dtds path in deployment" Watch "setting dtds path in deployment" New topic

setting dtds path in deployment

Kamalakar Sridhara

Joined: Jun 06, 2004
Posts: 3
Here i have problem in accessing dtds.
I am able to include the dtds in the .jar file using Ant script.
I have to run the application by invoking a servlet.
Apart from that i am forced to put all my dtds in the mydomain directory to run my application.Otherwise its giving the error as :
WARNING: D:\bea\user_projects\domains\mydomain\PartnerResponse.dtd (The system cannot find the file specified)

Can anyone please give the solution how to make my application to access the dtds in the .jar file itself and not from Current Directory.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Moving to the Servlets forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: setting dtds path in deployment
It's not a secret anymore!