Hi guys,
I'm having real trouble getting Java to find my file under Windows. I tried loads of things, but it kept giving me an IOException, so as a basic test, I did :
java.io.File file = new java.io.File("file:///D:/rss.xml");
if(file.exists()) {
System.out.println("true");
} else {
System.out.println("false");
}
However, no matter what combination of strings i try for the File constructor, I can't get it to print true! What am I doing wrong?
The file's definitely there by the way!!
Many thanks,
Nick Moores