Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Beginning Java and the fly likes IOException : bad file desciptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "IOException : bad file desciptor" Watch "IOException : bad file desciptor" New topic

IOException : bad file desciptor

Bobo Shante

Joined: Sep 02, 2001
Posts: 4
I created a program in which I can read and write objects to a sequential file. I want to be able to write multiple objects. After which I want to read the objects back sequentially. what should I do to reposition the file pointer to the start of the file ? which stream do I need to close and open
Ranch Hand

Joined: Mar 06, 2001
Posts: 123
I think you will find answer to your question in this
nice article
I agree. Here's the link:
subject: IOException : bad file desciptor