3. Note: the URL is "index.faces." There is no file on the server named "index.faces." I personally hate "magic" command (commands that you must memorize what they really do since they don't do what they seem to do.) Geary and Horstmann call this "Byzantine." So why is it there. The Application Container (i.e. Tomcat) needs to know which JSP pages to serve to the Faces Servlet. There are several ways to configure this, but they all amount to saying "When a user makes a request to something with the following pattern, Tomcat should feed it to the Faces Servlet and Faces will convert it to xzy.jsp."
|