"ppcguy" <go*****@hehe.com> wrote in message
news:cP**************@news-wrt-01.rdc-nyc.rr.com...
i've got a progress bar that tracks a process running on
a server (java servlet).
i know i can refresh the page and update the status...but
this results in the page being redrawn everytime.
is there a way i can call a servlet from javascript and
process the results directly - and in this case get the
percent done and then update the progress bar.
the servlet would just return an integer.
The concept you're looking for have been given the fancy
acronym: AJAX.
Its just a way of saying: Use the old traditional method
of calling the servlet from a hidden <ifame>, and update the
opener.xxx on return, or...
....use the XmlHttpObject and set up a response callback.
Google for AJAX, or start here:
http://www.ajaxmatters.com/r/welcome
--
Dag.