Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem while reading a file

 
Minal Silimkar-Urankar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using eclipse3.3 . I want to read file from the specified location. I gave full qualified path. It shows FileNotFoundException. But file is present at specified location.


Same method I tried to read image using FileInputString. This code is working.

[ August 04, 2008: Message edited by: minal silimkar ]
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only stupid doubt I have , are you sure the "abc.txt" is right there in same folder as you specified and If so , Please make sure the file extension is correct !!
 
Minal Silimkar-Urankar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sagar Rohankar

The only stupid doubt I have , are you sure the "abc.txt" is right there in same folder as you specified and If so , Please make sure the file extension is correct !!

Extensions where hidden. After disabling option the actual file name is "abc.txt.txt". My problem is solved now. Thank you Sagar for your suggestion.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic