This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • 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
Pie
Posts: 42967
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