This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Live update Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Live update" Watch "Live update" New topic
Author

Live update

philip johnson
Ranch Hand

Joined: Dec 25, 2007
Posts: 40
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
SCJP2, SCBCD1.3
philip johnson
Ranch Hand

Joined: Dec 25, 2007
Posts: 40
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Live update
 
Similar Threads
Read a XML File from WEbserver using Ajax
Dynamically adding new information to jsp without scriplets
Swing client Vs Applet Vs RIA (AJAX, etc)
Welcome Ryan Asleson and Nathaniel Schutta
How a page can be updated without refreshing the page