title: How to show a file upload progress bar in jsp and servlet with a multipart filter implemented?
body: <p>I was working on a file upload task using jsp and servlet. I read many questions and answers regarding this topic on stackoverflow. I came accross this question on stckoverflow</p>
  
  <p><a href="https://stackoverflow.com/questions/2422468/how-to-upload-files-to-server-using-jsp-servlet">How to upload files to server using JSP/Servlet?</a> </p>
  
  <p>Where Balusc has gave an nice and descriptive answer to the question.  He has also give the reference to his blog regarding multipart filter which is a complete informative tutorial with a complete working example code. link is here <a href="http://balusc.blogspot.in/2007/11/multipartfilter.html" rel="nofollow noreferrer">http://balusc.blogspot.in/2007/11/multipartfilter.html</a> 
  Thanks to Stackoverflow and Balusc Sir for there nice explaination of the solution regarding this task.</p>
  
  <p>I have implemented the same code of multipart filter and other code in the given example with small chages as per my requirement for my file upload application. My application is working absolutly fine. </p>
  
  <p>Now the enhancement part comes in to picture. I want to add a file upload progress bar with this application which shows file upload progress. I googled regarding this on web I found many answers but all are mess. Can any one explain properly how to add progress bar with above example given in above blog. Where do I need to do the changes in the code given in above blog to show the file upload progress bar.</p>
  
  <p>I am using Apache Tomcat server 6.0
  Apache file upload library commons-fileupload-1.2.2.jar
  and commons-io-2.4.jar
  Java  1.6 on Windows and  OpenJDk 7 on linux</p>
  
  <p>Please guide me friends in this problem.</p>
  
  <p>Thanks You!</p>