File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Getting percentage of request processed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Getting percentage of request processed" Watch "Getting percentage of request processed" New topic

Getting percentage of request processed

Sameer Sebastian

Joined: Aug 19, 2011
Posts: 17

I am showing a progress bar, after an ajax request.
Is it possible to know the percentage of request processed?
If yes, how?

Thanks in advance,
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63552

That's a matter for your server code. Does it know how to compute percent complete? If so, fire off regular Ajax requests to obtain the value and update the progress bar.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Getting percentage of request processed
It's not a secret anymore!