Re: Prettyfaces + Primefaces – JSF2.0 – Glassfish 3

Splash Forums PrettyFaces Users Prettyfaces + Primefaces – JSF2.0 – Glassfish 3 Re: Prettyfaces + Primefaces – JSF2.0 – Glassfish 3

#20219

I think your pretty filter mapping url-pattern is backwards; it needs to use a different value. Instead of *.xhtml, use /*:

<filter>
<filter-name>Pretty Filter</filter-name>
<filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>Pretty Filter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>