users@glassfish.java.net

Re: Problem with *.jsf and Glassfish v3

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 Jul 2010 23:14:29 PDT

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