This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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