XML File not found error
843834Jun 30 2005 — edited Jul 11 2005Hi Guys,
I have an xml file that says something like below:
<?xml version ="1.0">
<!DOCTYPE test SYSTEM "/dtd/tester.dtd">
<test>
<testing>hello world</testing>
<test>
Thr problem is that my dtd folder inside the same place as my test.class file. but I'm calling my test.class from the root directory using java -cp . It keeps failing with error FileNotFoud:/dtd/tester.dtd. As I understood its looking for dtd folder in the root dir. But it cannot find it there so its failing. Any solution to this problem?????
Thanks