Reply To: How to control PrettyFaces filter loading in Servlet 3.0

Splash Forums PrettyFaces Users How to control PrettyFaces filter loading in Servlet 3.0 Reply To: How to control PrettyFaces filter loading in Servlet 3.0

#24478

Marcin Kapusta
Participant

Ok. I found the solution.

I only neet to define filter-mapping element in desired order.
The filter name must be Pretty Filter.


<filter-mapping> 
  <filter-name>Pretty Filter</filter-name> 
  <url-pattern>/*</url-pattern> 
  <dispatcher>FORWARD</dispatcher> 
  <dispatcher>REQUEST</dispatcher> 
  <dispatcher>ERROR</dispatcher>
</filter-mapping>