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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "applet - servlet communication" Watch "applet - servlet communication" New topic
Author

applet - servlet communication

Bala pani
Greenhorn

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....
 
Don't get me started about those stupid light bulbs.
 
subject: applet - servlet communication