• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FileNotFound while uploading

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The file you want to read does not exist.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic