1

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

How to upload files to server using JSP/Servlet?

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 http://balusc.blogspot.in/2007/11/multipartfilter.html Thanks to Stackoverflow and Balusc Sir for there nice explaination of the solution regarding this task.

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.

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.

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

Please guide me friends in this problem.

Thanks You!

4

1 に答える 1