Re: The FacesServlet cannot have a url-pattern of /*

Splash Forums PrettyFaces Users The FacesServlet cannot have a url-pattern of /* Re: The FacesServlet cannot have a url-pattern of /*

#20621

As I said before mapping the FacesServlet to /* is really not a good idea because it can cause all kinds of trouble.

How can I map URLs of my application from the root of the domain and without mapping FacesServlet to /*? Thanks.

If I understand you correctly you want to remove the context path of your application from the URLs? How to do this depends on the container you are using. In Tomcat for example you have to rename the WAR archive to ROOT.war before you deploy it. In this case there will be no context path in your URL.