aspose file tools*
The moose likes JSF and the fly likes How to upload multiple files in JSF? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to upload multiple files in JSF? " Watch "How to upload multiple files in JSF? " New topic
Author

How to upload multiple files in JSF?

Gautam Ry
Ranch Hand

Joined: Dec 30, 2008
Posts: 41
Hi
I need to upload multiple files. Is there any component available which enables multi uploads with JSF or any other way?
I would like to select multiple file with CTRL and then upload all.

regards
Gautam
apple lee
Greenhorn

Joined: Sep 24, 2009
Posts: 1
EX:in class,you can define like this: public UploadFile[] uploadFiles=new UploadFile[3] ;
in jsp:uploadFiles[index](index is 1,2 or 3)
Sudheer Vodela
Greenhorn

Joined: Sep 25, 2009
Posts: 2
Hi ,

We are wondering about to select multiple file with CTRL and then upload all. Please help us.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

I don't know if the file upload dialog that your browser users supports that or not, and it's the browser (client) that has the final say.

However, the RichFaces file upload control does support uploading multiple files in a single operation, complete with progress indicators.


Customer surveys are for companies who didn't pay proper attention to begin with.
Sudheer Vodela
Greenhorn

Joined: Sep 25, 2009
Posts: 2
Thanks for the updates. Could you please share some links on this if you dont mind.

Thanks in advance.

~Sudheer V
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
google for richfaces file upload and you will get ton of links and richfaces also has a basic user guide on how to use the file upload component
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to upload multiple files in JSF?
 
Similar Threads
Reading and manipulating file content on client machine
Multiple file upload
File upload filter for displaying files
Multiple File Uplaod
Uploading multiple files