wood burning stoves*
The moose likes Servlets and the fly likes applet - servlet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "applet - servlet communication" Watch "applet - servlet communication" New topic

applet - servlet communication

Bala pani

Joined: Dec 05, 2005
Posts: 1
Hi guys,
I have a whiteboard scenario where a tutor will draw on a applet, and for every mouse action the Vector object will be witten to the servlet outputstream, again these vector has to be read and the drawings has to be reflected in the student whiteboard applet. I use ObjectInputStream and ObjectOutputStream for writting the vector.

It works well with 1 applet and 1 servlet scenario. But if i try to read with a another applet it says EOFException ...

That is...If I use Tutor Applet(tutor) to write to the servlet and Student Applet to read it says EOFException: object not read fully...

I use URLConnection to connect with the servlet.....

wating for your reply guys....
subject: applet - servlet communication
Similar Threads
Applet -Servlet Communication (geting & sending values)
JSP->Applet communication
readObject() throwing EOFException
EOF Exception while reading from applet
Vector <Object>