This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server Push

 
Sivanthi Thanikesavan
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to implement Server Push using Servlets.The
Servlet should update the browser page with new data whenever an event happens at the server.
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic