How to implement Server Push using Servlets.The Servlet should update the browser page with new data whenever an event happens at the server.
posted 13 years ago
This is not possible beacause of the request-response nature of HTPP. (The server cannot respond without a question of the client...) What you can do is sent a "refresh" meta tag that tells the client it should reload the page in x seconds. The newly fetched page could then show the status at that point. Hope this helps. Regards, G�nther. http://www.javacoding.net