Hi,
I have noticed that any URL beginning "file:\\" will return valid object. Most odd! If it is on the local file system then the following code will work :
import java.io.File;
..
..
File testFile = new File ("\test\t.txt");
if (!testFile.exists()) {
//File doesnt exist
}
else {
// File does exist
}
..
..
Hope this helps.
Cheers,
Simon