You cannot do this in one mapping, but you can do it in two:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
Hope this helps.
[Message sent by forum member 'sheetalv']
http://forums.java.net/jive/thread.jspa?messageID=478361