In this recipe, you will see how to implement a JSF application for uploading multiple files with AJAX support. To accomplish this task we will use a dedicated component developed under the RichFaces project.
We developed this recipe with NetBeans 6.8, JSF 2.0, and GlassFish v3. The JSF 2.0 classes were obtained from the NetBeans JSF 2.0 bundled library. In addition, we have used RichFaces 3.3.3.BETA1, which provides support for JSF 2.0. You can download this distribution from http://www.jboss.org/richfaces. The RichFaces libraries (including necessary dependencies) are in the book code bundle, under the
/JSF_libs/RichFaces JSF 2.0 folder.
As you know, RichFaces provides us with ...