tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/examples/WEB-INF web.xml
Date Sat, 28 Oct 2000 01:38:50 GMT
craigmcc    00/10/27 18:38:50

  Modified:    webapps/examples/WEB-INF web.xml
  Log:
  Add a commented-out invocation of the request dumper filter, which is
  quite useful for debugging.  All you need to do is remove the comments
  around the <filter-mapping> element to enable this filter.
  
  Revision  Changes    Path
  1.6       +12 -0     jakarta-tomcat-4.0/webapps/examples/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/examples/WEB-INF/web.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- web.xml	2000/10/13 23:49:24	1.5
  +++ web.xml	2000/10/28 01:38:50	1.6
  @@ -23,6 +23,12 @@
   	    <param-value>filters.ExampleFilter.PATH_MAPPED</param-value>
   	</init-param>
       </filter>
  +    <filter>
  +        <filter-name>Request Dumper Filter</filter-name>
  +        <filter-class>filters.RequestDumperFilter</filter-class>
  +    </filter>
  +
  +    <!-- Define filter mappings for the defined filters -->
       <filter-mapping>
           <filter-name>Servlet Mapped Filter</filter-name>
   	<servlet-name>invoker</servlet-name>
  @@ -31,6 +37,12 @@
           <filter-name>Path Mapped Filter</filter-name>
   	<url-pattern>/servlet/*</url-pattern>
       </filter-mapping>
  +<!--
  +    <filter-mapping>
  +        <filter-name>Request Dumper Filter</filter-name>
  +        <url-pattern>/*</url-pattern>
  +    </filter-mapping>
  +-->
   
       <!-- Define example application events listeners -->
       <listener>
  
  
  

Mime
View raw message