thelordoftherings
Programmer
Hello,
When I use this code on a local drive:
Document document = builder.parse(new File("c:\\test.xml"));
It is working fine but when I do it on a drive e which, is mapped to my pc and contains the same file, like this:
Document document = builder.parse(new File("e:\\test.xml"));
I receive FileNotFoundException. The file is present at the mapped drive. So Why is that?
When I use this code on a local drive:
Document document = builder.parse(new File("c:\\test.xml"));
It is working fine but when I do it on a drive e which, is mapped to my pc and contains the same file, like this:
Document document = builder.parse(new File("e:\\test.xml"));
I receive FileNotFoundException. The file is present at the mapped drive. So Why is that?