You cannot change the context path of your application using PrettyFaces or any other library. That’s a restriction by the Servlet specification, which is very reasonable from a security perspective. All the APIs are using URLs relative to the context path of the application.
But typically containers allow you to change the context path of you application. For Tomcat you could either change the name of your WAR file or you can change it using the context.xml file.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.