Re: Asynch Request with

Splash Forums PrettyFaces Users Asynch Request with Re: Asynch Request with

#20194

PrettyFaces automatically configures itself in a JEE 6 via web-fragment.xml environment like this:

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

I think the url-pattern is causing problems for you. Maybe you could manually configure the PrettyFilter in your web.xml and change the url-pattern to something like *.jsf. AFAIK this will overwrite the configuration from the web-fragment.xml file.