How can a servlet automatically updated by its data without refreshing?

India
April 29, 2007 9:15pm CST
Take one example of one sensex site. the corresponding data are shown in a scrolling manner. how they can automatically be refreshed after some time. without refreshing the page.? If i am thinking in the right direction u want to only update a portion of the page not the entire page. The entire page mechanism is easy using javascript autorefresh setTimeout("window.location.reload()",1000) Enter this script in the head portion of the html page in script tags But the best solution is to use AJAX. If you are using gmail or meebo u would understand what it is all about. more comments are welcome!!!
2 responses
30 Apr 07
use Asynchronous callback interface. http://www.devx.com/webdev/Article/31868/0/page/4
• United States
30 Apr 07
Yikes that went right over my head!!! good luck!