<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" 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>Un semplice esempio che usa i filtri</display-name>
<filter>
<filter-name>FiltroA</filter-name>
<filter-class>web.FiltroA</filter-class>
</filter>
<filter>
<filter-name>FiltroB</filter-name>
<filter-class>web.FiltroB</filter-class>
</filter>
<filter-mapping>
<filter-name>FiltroA</filter-name>
<url-pattern>/FilteredLogin</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>FiltroB</filter-name>
<url-pattern>/FilteredLogin</url-pattern>
</filter-mapping>
<servlet>
<description></description>
<display-name>FilteredLogin</display-name>
<servlet-name>FilteredLogin</servlet-name>
<servlet-class>web.FilteredLogin</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FilteredLogin</servlet-name>
<url-pattern>/FilteredLogin</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>