File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Uploading multiple files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Uploading multiple files" Watch "Uploading multiple files" New topic

Uploading multiple files

Pinal N Patel
Ranch Hand

Joined: Sep 05, 2003
Posts: 57
Hello Everyone,

Is there a JSF component/framework that allows to upload multiple files at one time. Users should be able to click on the browse button and select multiple files to upload rather than having many different browse button.

I have implemented successfully to upload one file at a time and I would highly appreciate any insight all of you might have to help me towards implementing mulitple files at one time.

thanks in advance!!

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
It is possible to upload multiple files through multiple file input elements (i.e., multiple "Browse" buttons) in one form, but not otherwise. HTML has no form elements for uploading more than one file per file input. There's nothing JSF (or any other web framework) can do about that.
anwar pasha

Joined: Jun 10, 2008
Posts: 19

can you send the sample code for multiple upload images.
I agree. Here's the link:
subject: Uploading multiple files
It's not a secret anymore!