Re: how to hide all the suffix of the url

Splash Forums PrettyFaces Users how to hide all the suffix of the url Re: how to hide all the suffix of the url

#21872

qeryui
Participant

thank you!

<pattern value=”/#{ /.*/ path }” />

this could match all the url.

But when I use this pattern with the <view-id> #{bean.getViewPath} </view-id>,

it will occur the 500 with the exception:

javax.servlet.ServletException: PWC1232: Exceeded maximum depth for nested request dispatches: 20

And the it wouldn’ enter the breakpoint in the bean.

If

<pattern value=”/faces/index.xhtml” />

<view-id> #{bean.getViewPath} </view-id>

is used,

it will work well.