Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet - servlet communication

 
Bala pani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic