Sending objects in applet-servlet communication
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Praveen_Singh
Posted On:   Tuesday, April 17, 2001 05:26 AM

While working on Applet-Servlet communication, I'm trying to send a Vector object from servlet to applet, but it throws an Exception of type StreamCorruptedException saying that object to be sent is not serializable.
What i understand is that Vector object is serializable.Why I'm getting this kind of error? Somebody please help me.

Re: Sending objects in applet-servlet communication

Posted By:   Tim_Rohaly  
Posted On:   Friday, April 20, 2001 08:34 PM

Another possibility is that you are modifying one of the
objects stored in the Vector concurrently with the serialization,
resulting in a corrupt object sent through the stream.

Re: Sending objects in applet-servlet communication

Posted By:   Michael_Wax  
Posted On:   Wednesday, April 18, 2001 08:58 PM

Are the objects that Vector contains serializable? If they are not, that could be the source of your problem.
About | Sitemap | Contact