i am getting two different result from almost same programs on winnt.
program 1.
String file = "C:\abc.txt";
File name = new File(file);
if(name.isFile())
System.out.print("it is a file")
else
System.out.print("file does not exists")
its out put is "file does not exists"
program 2.
i use same code on
JSP and get file path through fileDialog box and it outputs "file exists"
why two different outputs ?
------------------