Re: Primefaces 3.0 FileUpload not working with PrettyFaces 3.3.0

Splash Forums PrettyFaces Users Primefaces 3.0 FileUpload not working with PrettyFaces 3.3.0 Re: Primefaces 3.0 FileUpload not working with PrettyFaces 3.3.0

#21291

0swald
Participant

An update for future readers: setting <url-pattern>/*</url-pattern> may not be enough, I had to add also dispatcher types to make fileUpload work with prettyfaces:

<filter>
<filter-name>PrimeFaces FileUpload Filter</filter-name>
<filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>PrimeFaces FileUpload Filter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>