Recently I had to do a Drag&Drop file upload in a JSF2 application, instead of building everything from scratch I started sticking together some components which are around for a while already, namely:
- DropzoneJS (for the drag&drop)
- JAX-RS (for the rest service accepting the file upload)
- Primefaces JSF2 (to refresh the existing JSF image gallery after a file upload)
- Bootstrap
That’s how it looks like: