It's not a secret anymore!
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
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....
I agree. Here's the link:
subject: applet - servlet communication
It's not a secret anymore!