Re: Url-rewrite with empty parameters in the Url

Splash Forums PrettyFaces Users Url-rewrite with empty parameters in the Url Re: Url-rewrite with empty parameters in the Url

#21543

You need to use a custom regular expression for your parameters:

<url-mapping>
<pattern
value="/find/#{/[^/]*/ a : BackBean.a}/#{/[^/]*/ b : BackBean.b}/#{/[^/]*/ c : BackBean.c}/#{/[^/]*/ d : BackBean.d}/" />
<view-id value="/products/find.jspx" />
</url-mapping>