Re: Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app?

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?

#23022

You should not include the context path in your pattern. So you should use something like this:

<url-mapping id="hotelloginNormal">
<pattern value="/Login" />
<view-id value="/pages/hotel/hotelLoginNormal.xhtml" />
</url-mapping>

If you now access http://localhost:8080/b2c/Login in your browser, you should see your login page. Does it work this way?