File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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