• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to upload multiple files in JSF?

 
Gautam Ry
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

We are wondering about to select multiple file with CTRL and then upload all. Please help us.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sudheer Vodela
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic