File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "FileNotFound while uploading" Watch "FileNotFound while uploading" New topic
Author

FileNotFound while uploading

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi,

i am getting below exception .anybody can give the solution



Here



the save file is coming as a absolute path...i can not hard coding also...so 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
Marshal

Joined: Mar 22, 2005
Posts: 39534
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: FileNotFound while uploading
 
Similar Threads
Struts and File upload error - newbie
Rendering image in xml with Flying saucer
sending jar file to client using OutputStream
FileNotFoundException when file exists.
JCaptcha and Struts