tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat/src/examples/WEB-INF web.xml
Date Sat, 25 Aug 2001 14:14:59 GMT
nacho       01/08/25 07:14:59

  Modified:    src/examples/WEB-INF web.xml
  Log:
  Adding a map for the Snoop servlet to be able to see getPathInfo in action
  
  Revision  Changes    Path
  1.13      +10 -2     jakarta-tomcat/src/examples/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/examples/WEB-INF/web.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- web.xml	2000/10/09 02:32:37	1.12
  +++ web.xml	2001/08/25 14:14:59	1.13
  @@ -40,6 +40,14 @@
               snoop
           </servlet-name>
           <url-pattern>
  +            /snoop/*
  +        </url-pattern>
  +    </servlet-mapping>
  +    <servlet-mapping>
  +        <servlet-name>
  +            snoop
  +        </servlet-name>
  +        <url-pattern>
               *.snp
           </url-pattern>
       </servlet-mapping>
  @@ -80,16 +88,15 @@
       </security-constraint>
   
       <!-- Default login configuration uses BASIC authentication -->
  -    <!--
       <login-config>
         <auth-method>BASIC</auth-method>
         <realm-name>Example Basic Authentication Area</realm-name>
       </login-config>
  -    -->
   
       <!-- Form-based login is enabled by default.  If you wish to
            try Basic authentication, comment out the <login-config>
            section below and uncomment the one above. -->
  +    <!--
       <login-config>
         <auth-method>FORM</auth-method>
         <realm-name>Example Form-Based Authentication Area</realm-name>
  @@ -98,5 +105,6 @@
           <form-error-page>/jsp/security/login/error.jsp</form-error-page>
         </form-login-config>
       </login-config>
  +    -->
   
   </web-app>
  
  
  

Mime
View raw message