This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Uploading multiple files" Watch "Uploading multiple files" New topic
Author

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!!

Regards
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
anwar pasha
Greenhorn

Joined: Jun 10, 2008
Posts: 19
Hi

can you send the sample code for multiple upload images.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Uploading multiple files
 
Similar Threads
Multiple File Upload from a directory
Multiple File Selector
Want a suggestion regarding upload and save in database using struts 2.0
Multiple doc upload in single browse click
Using Javascript for generating a form element