> > We have developed a chat
applet which polls the
servlet for values
> > every 10 seconds. now, here is the problem...when it is polling there
> > are no issues ..however if I click on the applet to begin a
> > conversation with someone else and if at that point the server looses
> > internet connection...the applet hangs..because it is not able to
> > establish a connection with the server. Now, after 2-3 minutes, the
> > applet does return to its normal state because probably the browser
> > tells the applet that the connection is lost. However, 2-3 minutes is
> > a very long time and is there some way I can tell the applet to wait
> > for 10-15 seconds to look for a connection and if not found...simply
> > flag a message...connection lost. any help in programming this
> > connection time out would be highly appreciated.