Hi All,
I would need to do a file upload.
The user would choose a file from the local directory like C:/test.xls and makes an upload with.
In my java code I try to get the file content like :
String fileName = "C:/test.xls";
FileInputStream mystream = new FileInputStream(fileName);
but I always get back the same exception that "No such file or directory" even if the file exist on this directory.
Is there somebody who has idea why is that?
I would need to do a file upload.
The user would choose a file from the local directory like C:/test.xls and makes an upload with.
In my java code I try to get the file content like :
String fileName = "C:/test.xls";
FileInputStream mystream = new FileInputStream(fileName);
but I always get back the same exception that "No such file or directory" even if the file exist on this directory.
Is there somebody who has idea why is that?