Splash › Forums › PrettyFaces Users › Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app? › Re: Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app?
You should not include the context path in your pattern. So you should use something like this:
<pattern value="/Login" />
<view-id value="/pages/hotel/hotelLoginNormal.xhtml" />
If you now access http://localhost:8080/b2c/Login in your browser, you should see your login page. Does it work this way?
If you find our tools useful, please consider making a donation to help us stay online and building software!