nacho       01/01/23 17:44:33

  Modified:    src/admin/WEB-INF web.xml
  Log:
  tag-lib element in bad order validating parsers fail
  
  Revision  Changes    Path
  1.5       +23 -29    jakarta-tomcat/src/admin/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/admin/WEB-INF/web.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- web.xml   2000/07/27 17:56:14     1.4
  +++ web.xml   2001/01/24 01:44:33     1.5
  @@ -1,35 +1,29 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
  -
  -<!DOCTYPE web-app
  -    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
       "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
  -
   <web-app>
  -  <description>
  +     <description>
        Tomcat Admin 
     </description>
  -
  -    <security-constraint>
  -      <web-resource-collection>
  -         <web-resource-name>Protected Area</web-resource-name>
  -         <url-pattern>/contextAdmin/*</url-pattern>
  -      <http-method>DELETE</http-method>
  -         <http-method>GET</http-method>
  -         <http-method>POST</http-method>
  -      <http-method>PUT</http-method>
  -      </web-resource-collection>
  -      <auth-constraint>
  -         <role-name>admin</role-name>
  -      </auth-constraint>
  -    </security-constraint>
  -
  -    <login-config>
  -      <auth-method>BASIC</auth-method>
  -      <realm-name>Admin</realm-name>
  -    </login-config>
  -
  -  <taglib>
  -    <taglib-uri>http://jakarta.apache.org/taglibs/tomcat_admin-1.0</taglib-uri>
  -    <taglib-location>/WEB-INF/admin.tld</taglib-location>
  -  </taglib>
  +     <taglib>
  +             
<taglib-uri>http://jakarta.apache.org/taglibs/tomcat_admin-1.0</taglib-uri>
  +             <taglib-location>/WEB-INF/admin.tld</taglib-location>
  +     </taglib>
  +     <security-constraint>
  +             <web-resource-collection>
  +                     <web-resource-name>Protected Area</web-resource-name>
  +                     <url-pattern>/contextAdmin/*</url-pattern>
  +                     <http-method>DELETE</http-method>
  +                     <http-method>GET</http-method>
  +                     <http-method>POST</http-method>
  +                     <http-method>PUT</http-method>
  +             </web-resource-collection>
  +             <auth-constraint>
  +                     <role-name>admin</role-name>
  +             </auth-constraint>
  +     </security-constraint>
  +     <login-config>
  +             <auth-method>BASIC</auth-method>
  +             <realm-name>Admin</realm-name>
  +     </login-config>
   </web-app>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to