<?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">
 <display-name>Archetype Created Web Application</display-name>
 <context-param>
  <param-name>javax.faces.CONFIG_FILES</param-name>
  <param-value>/WEB-INF/faces-config.xml</param-value>
 </context-param>
 <context-param>
  <param-name>org.ajax4jsf.SKIN</param-name>
  <param-value>#{skinBean.skin}</param-value>
 </context-param>
 <context-param>
  <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  <param-value>client</param-value>
 </context-param>
 <context-param>
  <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
  <param-value>false</param-value>
 </context-param>
 
 <context-param>
  <param-name>org.ajax4jsf.COMPRESS_STYLE</param-name>
  <param-value>false</param-value>
 </context-param>
  <!-- 
 --> 
 <filter>
  <display-name>Ajax4jsf Filter</display-name>
  <filter-name>ajax4jsf</filter-name>
  <filter-class>org.ajax4jsf.Filter</filter-class>
  <init-param>
  <param-name>createTempFiles</param-name>
  <param-value>true</param-value>
  </init-param>
  <init-param>
  <param-name>maxRequestSize</param-name>
  <param-value>20000000</param-value>
  </init-param>
   </filter>
 
 
 <filter>
  <display-name>Sleep Filter</display-name>
  <filter-name>sleepFilter</filter-name>
  <filter-class>org.richfaces.SleepDemoFilter</filter-class>
 </filter>
  
 <!-- filter>
  <display-name>FileUpload Filter</display-name>
  <filter-name>fileUpload</filter-name>
  <filter-class>org.richfaces.org.jboss.seam.web.MultipartFilter</filter-class>
  <init-param>
  <param-name>createTempFiles</param-name>
  <param-value>true</param-value>
  </init-param>
  <init-param>
  <param-name>maxRequestSize</param-name>
  <param-value>20000000</param-value>
  </init-param>
   </filter-->
  
 
 <filter-mapping>
  <filter-name>sleepFilter</filter-name>
  <servlet-name>Faces Servlet</servlet-name>
  <dispatcher>REQUEST</dispatcher>
  <dispatcher>FORWARD</dispatcher>
  <dispatcher>INCLUDE</dispatcher>
  <dispatcher>ERROR</dispatcher>
 </filter-mapping>
  
 
 <!-- filter-mapping>
  <filter-name>fileUpload</filter-name>
  <servlet-name>Faces Servlet</servlet-name>
  <dispatcher>REQUEST</dispatcher>
  <dispatcher>FORWARD</dispatcher>
  <dispatcher>INCLUDE</dispatcher>
  <dispatcher>ERROR</dispatcher>
 </filter-mapping-->
 
 <filter-mapping>
  <filter-name>ajax4jsf</filter-name>
  <servlet-name>Faces Servlet</servlet-name>
  <dispatcher>REQUEST</dispatcher>
  <dispatcher>FORWARD</dispatcher>
  <dispatcher>INCLUDE</dispatcher>
  <dispatcher>ERROR</dispatcher>
 </filter-mapping>
 <servlet>
  <servlet-name>Faces Servlet</servlet-name>
  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  <load-on-startup>1</load-on-startup>
 </servlet>
 <servlet-mapping>
  <servlet-name>Faces Servlet</servlet-name>
  <url-pattern>/faces/*</url-pattern>
 </servlet-mapping>
 <servlet-mapping>
  <servlet-name>Faces Servlet</servlet-name>
  <url-pattern>*.jsf</url-pattern>
 </servlet-mapping>
 <login-config>
  <auth-method>BASIC</auth-method>
 </login-config>
</web-app>
