Im developing a application in which im reading file system.
I wrote two classes in one class i read all images and made thumbnails. In this class image get read properly. In second class again i read same image and try to upload it on server.
Im facing problem in second class while reading that file. I got exception as
"java.io.IOException: failed to open file for reading"
The code for reading the fileas in both classes is same. Still Im getting exeception in reading file.
Plz anybody know why it is happening.
Plz help me out.