Logging-Filter in dem Test-Beispiel aktiviert
authorKai Moritz <kai@coolibri.de>
Sat, 17 Mar 2012 10:45:26 +0000 (11:45 +0100)
committerKai Moritz <kai@coolibri.de>
Thu, 2 Aug 2012 07:03:26 +0000 (09:03 +0200)
cachecontrol-example-jsp/src/main/webapp/WEB-INF/web.xml

index 3ca24fa..f454b87 100644 (file)
     <filter-class>de.halbekunst.juplo.cachecontrol.AcceleratorFilter</filter-class>
   </filter>
 
+  <filter>
+    <filter-name>logger</filter-name>
+    <filter-class>de.halbekunst.juplo.test.LoggingHttpServletResponseFilter</filter-class>
+  </filter>
+
+  <filter-mapping>
+    <filter-name>logger</filter-name>
+    <url-pattern>*.jsp</url-pattern>
+  </filter-mapping>
+
   <filter-mapping>
     <filter-name>accelerator</filter-name>
     <url-pattern>*.jsp</url-pattern>
   </filter-mapping>
 
+
 </web-app>