Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Live update  RSS feed

 
philip johnson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to do a live update of application running, progress on the web page, it is ian internal project,, because now there is no way for the user to find what is going on.
I am plaaning to do with AJAX and Servlets. I tried to call the ajax method from javascript setInterval in every 30 sec. but the actual servlet is not get called , I am getting old data all the time.Is there any easy way, or I am doing anything wrong.
Philip
 
philip johnson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Another interseting thing is even if my server is stopped, the ajax javascript method is get executed and come with httpreq.status=200 .
what is going on, I could not understand this. is this right forum? or I need to move to someother forum.
philip
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!