How do i append Objects to a ObjectOutput Stream
1 posts in topic
Flat View  Flat View

Posted By:   mahi_reddy
Posted On:   Thursday, July 5, 2001 12:32 AM

i have opened a FileOutputStream(fis)(name,true) for appending and created a ObjectOutputStream with above fis.
eventhough i am writing objects into file while reading i am only getting first object then i am getting StreamCorruptedException.
why i am getting that exception and how to overcome my problem so that i can able to append object to existing file which holds objects?

Re: How do i append Objects to a ObjectOutput Stream

Posted By:   Tim_Rohaly  
Posted On:   Sunday, July 8, 2001 07:45 PM

This is either answered in the FAQs already, or is a programming
error on your part.

I suggest you first search the FAQ for "StreamCorruptedException",
and then if that doesn't answer your question you should post
a short code sample which demonstrates your problem.

About | Sitemap | Contact