Re: how to write rewrite rule?

Splash Forums PrettyFaces Users how to write rewrite rule? Re: how to write rewrite rule?

#22004

dolphincn
Participant

at last I found it need append “/” at the end of pattern.

<url-mapping>

<pattern value=”/admin/” />

<view-id value=”/admin/admin.xhtml” />

</url-mapping>

now it work.

I think something configure setting wrong before, because I have tried this way.