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

#21551

I reproduce this issue. I’ll try to find some time in the next days to fix this.

In the meantime you can use a simple workaround for the issue. Just append some string to the end of your pattern (after the last / character). I think it will work fine then. Something like this:

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

I hope this helps

Christian