users@javaserverfaces.java.net

Re: web.xml

From: Thufir <hawat.thufir_at_gmail.com>
Date: Sun, 11 Apr 2010 03:08:57 +0000 (UTC)

On Sat, 10 Apr 2010 21:47:53 -0400, Roger Kitain wrote:

> The servlet mapping is probably faces/* which will cause the request to
> go through the
> JSF servlet. The request must go through the JSF servlet for the page
> to be rendered by JSF.
>



>> <servlet-mapping>
>> <servlet-name>Faces Servlet</servlet-name>
>> <url-pattern>/faces/*</url-pattern>
>> </servlet-mapping>

Certainly, the servlet mapping is such that the request will go through
the Faces Servlet. That I follow, although thank you for articulating it
so well :)

What I don't understand is, if the index.xhtml file isn't in a faces
directory, how is it located by tomcat?



-Thufir