Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to do a file upload & download using Apache Commons FileUpload?

843840Aug 29 2007 — edited Aug 30 2007
Hi, I have read through the user guide but I don't understand what are the steps as to implementing the functions...

http://commons.apache.org/fileupload/using.html

How do I Create a servlet to read the contents(filename) of te dir where the files are, then create a collection (ArrayList for instance) with the files path and send this collection back to a jsp page.In jsp page, iterate through the collection and build the links (with scriptlets or c tags)

Can help? Thanks for the guidance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2007
Added on Aug 29 2007
12 comments
1,326 views