posted 12 years ago
Can't really be done using a Servlet (unless you implemented your own protocol and Servlet implementation I suppose). Normal HTTP Servlets use HTTP which does not support push. You can use technologies like Comet to get push like behaviour with HTTP, but since you are using an Applet this is unnecessary. You need to use socket programming rather than Servlets.