jQuery in Action, 3rd edition
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: 63195

Moving to the Servlets forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: setting dtds path in deployment
It's not a secret anymore!