I have a web jsf project, with, inside my Web Pages directory:
/WEB-INF
/faces
/res
index.jsp
My faces dir got the files all.xhtml and login.xhtml.
My web.xml
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*.xhtml</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>/faces/login.jsp</welcome-file>
</welcome-file-list>
But when I run my project, JSF can't find any of my xhtml files. I don't understand why.