Re: Generic url rewrite

Splash Forums PrettyFaces Users Generic url rewrite Re: Generic url rewrite

#22882

BOFFSOMY
Member

Thanks for your time guys! I will use Pretty Faces, because it fits my only need, but I read some pretty nice stuff about Rewrite, but I will check that later: step by step! ;-)

By the way,I created a rule, but it screwd the insertion of my css, or something else really weird happened.

I put this piece of code in my web.xml:

<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>
</filter-mapping>

What is wrong?