my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "setting dtds path in deployment" Watch "setting dtds path in deployment" New topic
Author

setting dtds path in deployment

Kamalakar Sridhara
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 60759
    
  65

Moving to the Servlets forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setting dtds path in deployment
 
Similar Threads
EJB Deployment
More than one web-application under the same root directory
A question on setting CLASSPATH on linux
Deployment script where to run???
More than one web-application under the same root directory