title: Setting up AJAX progress bar
body: <p>Ok im new to AJAX. Kind of know about the lifecycle of a request, IE uses ActiveXObject stuff like that.</p>
  
  <p>However now im faced with a real world problem. I have a servlet running in the background that performs a number of tasks and i would like to display a progress bar to show where the process is up to and to also show that something is actually happening.</p>
  
  <p>So far in the server side i can calculate the number of processes that will take place before they begin, and easily enough add a counter to increment after each process completes - therefore enabling me to find the percentage i wish to show.</p>
  
  <p>In terms of where i should output the data gathered from incrementing etc i'm not sure so far it is dormant as 2 integers in the processing java class.</p>
  
  <p>Any help would be much appreciated.</p>
  
  <p>So far i've taken a look at <a href="http://www.redips.net/javascript/ajax-progress-bar/" rel="nofollow">this</a> and i guess thats kind of what im aiming for.</p>
  
  <p>Cheers.</p>