I have write the code to upload a file to database. I checked it by uploading a text document which is in my desktop and it is working and successfully uploaded to database.
File tomcat.txt has been uploaded and inserted into Database.
But when I tried to upload an another text document in the desktop, it is not working and throws exception as :
java.io.FileNotFoundException: reminder.txt (The system cannot find the file specified)
I think it is not a compiler error. It may be runtime error. how to overcome this?
Any help will be appreciated....