need ideas for progress bar, as java functions execute

P

Piper707

Hi,

We have a servlet that contains calls for different java functions.Once
you hit submit, it triggers a series of function calls. However for the
period of time that functions are busy/completing, I just see the tiny
blue bar in IE being populated which tells me something is in progress.
Once the function calls complete, the next page loads.

Servlet:submit--->functionA()--->functionB()

I would like the progress of each of these functions to be visible in
the GUI as they execute. For Ex, if functionA() does file writes and
functionB() does FTP , the messages displayed to the user, while the
submit is in progress should look something like this:

file1 successfully written
file2 successfully written
file1 successfully uploaded to server..
file2 successfully uploaded to server..

I'd like to know what alternatives I can use to achieve this.

1) something like a popup that gets generated as each function executes
2) or have a part of the existing page show an "embedded" progress bar,
that would tell me which activity is in progress. Can AJAX be used for
anything like this?
3) any other ideas?

Thank for any help
Rohit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,229
Latest member
GloryAngul

Latest Threads

Top