my dog learned polymorphism
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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!