Use the UploadFilter if your application contains an Upload component
(<ui:upload> tag).
Configure the filter by declaring the filter element in the web application's
deployment descriptor.
<filter>
<filter-name>UploadFilter</filter-name>
<filter-class>com.sun.web.ui.util.UploadFilter</filter-class>
</filter>
Map the filter to the FacesServlet, for example
<filter-mapping>
<filter-name>UploadFilter</filter-name>
<servlet-name>FacesServlet</servlet-name>
</filter-mapping>
The UploadFilter uses the Apache commons fileupload package. |