Hello all,

I am trying to send an object from Servlet to Applet using
ObjectOutputStream. 
In the applet it throws the following error.  

java.io.StreamCorruptedException: Header out of range 124
        at java/io/ObjectInputStream.readHeader
        at java/io/ObjectInputStream.readObject
        at com/ms/!!!Internal_Class_0.DefaultReadMethod
        at java/io/ObjectInputStream.invokeDefaultReadObject
        at java/io/ObjectInputStream.defaultReadObject
        at java/io/ObjectInputStream.readNewObject
        at java/io/ObjectInputStream.readObject
        at SampleApplet.hitServlet
        at SampleApplet.actionPerformed
        at java/awt/Button.processActionEvent
        at java/awt/Button.processEvent
        at java/awt/Component.dispatchEventImpl
        at java/awt/Component.dispatchEvent
        at java/awt/EventDispatchThread.run


Any help would be appreciated.

Thx
harinath

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to