web.xml
<?xml version="1.0" encoding="UTF-8"?> 
 
<web-app version="2.4" 
         xmlns="http://java.sun.com/xml/ns/j2ee" 
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" > 
 
    <context-param> 
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name> 
            <param-value>client</param-value> 
        </context-param> 
 
        <context-param> 
            <param-name>javax.faces.application.CONFIG_FILES</param-name> 
            <param-value>/WEB-INF/faces-config.xml</param-value> 
        </context-param> 
 
        <!-- Faces Servlet --> 
        <servlet> 
            <servlet-name>Faces Servlet</servlet-name> 
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> 
            <load-on-startup> 1 </load-on-startup> 
        </servlet> 
 
 
        <!-- Faces Servlet Mapping --> 
        <servlet-mapping> 
            <servlet-name>Faces Servlet</servlet-name> 
            <url-pattern>/faces/*</url-pattern> 
        </servlet-mapping> 
     
 
 
</web-app>