John-
the suffix should be .jsp since your pages are described in there.
.faces (better than .jsf IMO) is *only* for the FacesServlet.
Each request (for instance foo.faces is mapped to a physical file
foo.jsp) goes via FacesServlet through the JSF infrastructure.
-Matthias
On 6/8/06, John Ruffin <[EMAIL PROTECTED]> wrote:
Thanks for the reply Mario. I was just looking through the source and found
that "it is" a special url - so keep it as is - not specific to my
resources.
I do use *.jsf in the mapping:
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.jsf</param-value>
</context-param>
...
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
Here is my next question: on the reference page it mentions you can use
either <servlet name> or <url -pattern>. Is that accurate? I tried:
<!-- extension mapping for adding <script/>, <link/>, and other resource
tags to JSF-pages -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
--
View this message in context:
http://www.nabble.com/MyFacesExtensionsFilter--t1756467.html#a4777266
Sent from the MyFaces - Users forum at Nabble.com.
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com