hi,
could you maybe send the piece of your code that's causing the trouble? it's
much easier to say sth abt it then.

-mw


----- Original Message -----
From: "Harinath D.P" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 11:31 AM
Subject: Re: StreamCorruptedException: Header out of range 124


Ya ! It is a serialized one and it continues to throw this error

-----Original Message-----
From: herochinese [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 3:37 PM
To: [EMAIL PROTECTED]
Subject: Re: StreamCorruptedException: Header out of range 124


Ensure ,your object was Serializable .
----- Original Message -----
From: "Harinath D.P" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 5:01 PM
Subject: StreamCorruptedException: Header out of range 124


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

________________________________________________________________________
___
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

___________________________________________________________________________
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

___________________________________________________________________________
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