<web-app> 
    <filter> 
        <filter-name>AdvertismentFilter</filter-name> 
        <filter-class>AdvertismentFilter</filter-class> 
    </filter> 
 
    <filter-mapping> 
      <filter-name>AdvertismentFilter</filter-name> 
      <url-pattern>/*</url-pattern> 
    </filter-mapping> 
</web-app>
Back to Internet Programming with Java books's web site