The rich:fileUpload component allows you to upload files from the users machine to the server with various options.

This example allows you to upload files to the demo server. The number of files allowed at once is managed with the maxFilesQuantity attribute. Every uploaded file will be processed with a fileUploadListener which is called after every single file upload operation is finished.

Example limitations This example allows you to upload up to 5 files. The file extension is limited to GIF, JPG, BMP, PNG and the maximum size of each file must not exceed 100kB

FileUpload requires two context-parameter's to be set in web.xml: