Hi all,
i am just writing a Comet
Servlet using an ObjectOutputStream. The Code is recreated from the ChatServlet used in the Comet
Tomcat examples.
Receiving objects in the Client
Applet i get the error:
"invalid type code: AC".
Using a simple In/OutputStream the connection works fine.
Used components:
Tomcat 6
Java 5.0.3
catalina.jar
The Code of the applet, registering at the servlet and then is waiting:
The code of the servlet which is adding the response OutputStream to an ArrayList:
The code of the servlet which is sending an object to the applet (as shown above):
What am i doing wrong?
I am happy about your help.
Many thanks.
[BPSouther: Added
code tags]
[ June 20, 2008: Message edited by: Ben Souther ]