Hello all,
Unfortunately, I am stuck with a problem of sending info to the requesting
applet as and when
servlet wants to. Meaning that the
applet in its run() should continuosly wait for any incoming
messages from servlet. But what happens is the run() does not
block the program flow when it reaches statement....
String info = (String) ois.readObject()... as it normally does
when the communication is based on ServerSocket and socket
objects, but here the communication is based on URL and
URLConnection objects.
I succeed in sending request from applet to servlet using URL and
URLConnection objects and also in getting response from servlet
once but, as my run() is in while loop it throws IOException on
not getting further responses.
Any idea over this?
KB
[This message has been edited by Kruger Brent (edited January 19, 2001).]