File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes FileNotFound while uploading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "FileNotFound while uploading" Watch "FileNotFound while uploading" New topic

FileNotFound while uploading

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575


i am getting below exception .anybody can give the solution


the save file is coming as a absolute path...i can not hard coding how to make it work
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
The file you want to read does not exist.

My Blog
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Or it could mean that the process executing this code does not have permissions to access the file. Web servers (and servlet containers) often run with reduced permissions in order to prevent them from doing harm in case they're compromised.
I agree. Here's the link:
subject: FileNotFound while uploading
It's not a secret anymore!