Hello Friends,
               I am developing a Chat System primarily using
Applet-Server(Currently using ServerSocket but in future also The server
will become a Servlet to use Servlet features).
        I am using ObjectSerialization extensively for this Proj. But the
problem is something like this :

Steps:
1. Applet accepts the username & when the user clicks on the Login button.
THe Applet sends an Object of type Header to the Server.
2. The Server gets this successfully!! without any problem it checks if it
is user authenitication then does some process(currently it just does
nothing) & replies with a Header Object saying AUTHEN OK as its Message to
signal user valid. So that the Applet can show the Room, Users List etc.
The Problem ishere that the Applet is not getting this Header Object but
throws an exception saying
java.io.StreamCorruptedException : Type code -84
I am not understanding why Applet cannot read response.
Pls note applet does have access to HEader class (only then it will send the
Header first :))
       Can anybody help me how to solve this Problem it is Urgent. I am also
still trying. Since Object Serialization is used in Servlets & RMI
especially I ask for Help on this matter.

Hoping for earliest response.

Jiger

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

___________________________________________________________________________
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