<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  Copyright 2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">

    <description>
      JSP 2.0 Examples.
    </description>
    <display-name>JSP 2.0 Examples</display-name>


    <!-- Define servlet-mapped and path-mapped example filters -->
    <filter>
        <filter-name>Servlet Mapped Filter</filter-name>
        <filter-class>filters.ExampleFilter</filter-class>
	<init-param>
	    <param-name>attribute</param-name>
	    <param-value>filters.ExampleFilter.SERVLET_MAPPED</param-value>
	</init-param>
    </filter>
    <filter>
        <filter-name>Path Mapped Filter</filter-name>
        <filter-class>filters.ExampleFilter</filter-class>
	<init-param>
	    <param-name>attribute</param-name>
	    <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>

    <!-- Example filter to set character encoding on each request -->
    <filter>
        <filter-name>Set Character Encoding</filter-name>
        <filter-class>filters.SetCharacterEncodingFilter</filter-class>
        <init-param>
            <param-name>encoding</param-name>
            <param-value>EUC_JP</param-value>
        </init-param>
    </filter>

    <filter>
        <filter-name>Compression Filter</filter-name>
        <filter-class>compressionFilters.CompressionFilter</filter-class>

        <init-param>
          <param-name>compressionThreshold</param-name>
          <param-value>10</param-value>
        </init-param>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
    </filter>

<!-- Example filter mapping to apply the "Set Character Encoding" filter
     to *all* requests processed by this web application -->
<!--
    <filter-mapping>
        <filter-name>Set Character Encoding</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
-->

<!--
    <filter-mapping>
      <filter-name>Compression Filter</filter-name>
      <url-pattern>/CompressionTest</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>
        <listener-class>listeners.ContextListener</listener-class>
    </listener>
    <listener>
        <listener-class>listeners.SessionListener</listener-class>
    </listener>

    <!-- Define servlets that are included in the example application -->

    <servlet>
      <servlet-name>
          servletToJsp
      </servlet-name>
      <servlet-class>
          servletToJsp
      </servlet-class>
    </servlet>

    <servlet>
        <servlet-name>
            CompressionFilterTestServlet
        </servlet-name>
        <servlet-class>
            compressionFilters.CompressionFilterTestServlet
        </servlet-class>
    </servlet>

    
<!-- JSPC servlet mappings start -->

    <servlet>
        <servlet-name>org.apache.jsp.source_jsp</servlet-name>
        <servlet-class>org.apache.jsp.source_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.xml.xml_jsp</servlet-name>
        <servlet-class>org.apache.jsp.xml.xml_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.tagplugin.choose_jsp</servlet-name>
        <servlet-class>org.apache.jsp.tagplugin.choose_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.tagplugin.foreach_jsp</servlet-name>
        <servlet-class>org.apache.jsp.tagplugin.foreach_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.tagplugin.if_jsp</servlet-name>
        <servlet-class>org.apache.jsp.tagplugin.if_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.snp.snoop_jsp</servlet-name>
        <servlet-class>org.apache.jsp.snp.snoop_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.simpletag.foo_jsp</servlet-name>
        <servlet-class>org.apache.jsp.simpletag.foo_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.sessions.carts_jsp</servlet-name>
        <servlet-class>org.apache.jsp.sessions.carts_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.security.protected_.error_jsp</servlet-name>
        <servlet-class>org.apache.jsp.security.protected_.error_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.security.protected_.index_jsp</servlet-name>
        <servlet-class>org.apache.jsp.security.protected_.index_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.security.protected_.login_jsp</servlet-name>
        <servlet-class>org.apache.jsp.security.protected_.login_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.plugin.plugin_jsp</servlet-name>
        <servlet-class>org.apache.jsp.plugin.plugin_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.num.numguess_jsp</servlet-name>
        <servlet-class>org.apache.jsp.num.numguess_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsptoserv.hello_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsptoserv.hello_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsptoserv.jsptoservlet_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsptoserv.jsptoservlet_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.tagfiles.hello_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.tagfiles.hello_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.tagfiles.panel_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.tagfiles.panel_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.tagfiles.products_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.tagfiles.products_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.simpletag.book_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.simpletag.book_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.simpletag.hello_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.simpletag.hello_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.simpletag.repeat_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.simpletag.repeat_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.misc.config_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.misc.config_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.misc.dynamicattrs_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.misc.dynamicattrs_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.jspx.basic_jspx</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.jspx.basic_jspx</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.jspx.textRotate_jspx</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.jspx.textRotate_jspx</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.jspattribute.jspattribute_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.jspattribute.jspattribute_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.jspattribute.shuffle_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.jspattribute.shuffle_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.el.basic_002darithmetic_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.el.basic_002darithmetic_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.el.basic_002dcomparisons_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.el.basic_002dcomparisons_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.el.functions_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.el.functions_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.jsp2.el.implicit_002dobjects_jsp</servlet-name>
        <servlet-class>org.apache.jsp.jsp2.el.implicit_002dobjects_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.include.foo_jsp</servlet-name>
        <servlet-class>org.apache.jsp.include.foo_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.include.include_jsp</servlet-name>
        <servlet-class>org.apache.jsp.include.include_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.forward.forward_jsp</servlet-name>
        <servlet-class>org.apache.jsp.forward.forward_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.forward.one_jsp</servlet-name>
        <servlet-class>org.apache.jsp.forward.one_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.error.err_jsp</servlet-name>
        <servlet-class>org.apache.jsp.error.err_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.error.errorpge_jsp</servlet-name>
        <servlet-class>org.apache.jsp.error.errorpge_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.dates.date_jsp</servlet-name>
        <servlet-class>org.apache.jsp.dates.date_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.colors.colrs_jsp</servlet-name>
        <servlet-class>org.apache.jsp.colors.colrs_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.checkbox.checkresult_jsp</servlet-name>
        <servlet-class>org.apache.jsp.checkbox.checkresult_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.cal.cal1_jsp</servlet-name>
        <servlet-class>org.apache.jsp.cal.cal1_jsp</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>org.apache.jsp.cal.cal2_jsp</servlet-name>
        <servlet-class>org.apache.jsp.cal.cal2_jsp</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.source_jsp</servlet-name>
        <url-pattern>/source.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.xml.xml_jsp</servlet-name>
        <url-pattern>/xml/xml.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.tagplugin.choose_jsp</servlet-name>
        <url-pattern>/tagplugin/choose.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.tagplugin.foreach_jsp</servlet-name>
        <url-pattern>/tagplugin/foreach.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.tagplugin.if_jsp</servlet-name>
        <url-pattern>/tagplugin/if.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.snp.snoop_jsp</servlet-name>
        <url-pattern>/snp/snoop.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.simpletag.foo_jsp</servlet-name>
        <url-pattern>/simpletag/foo.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.sessions.carts_jsp</servlet-name>
        <url-pattern>/sessions/carts.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.security.protected_.error_jsp</servlet-name>
        <url-pattern>/security/protected/error.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.security.protected_.index_jsp</servlet-name>
        <url-pattern>/security/protected/index.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.security.protected_.login_jsp</servlet-name>
        <url-pattern>/security/protected/login.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.plugin.plugin_jsp</servlet-name>
        <url-pattern>/plugin/plugin.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.num.numguess_jsp</servlet-name>
        <url-pattern>/num/numguess.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsptoserv.hello_jsp</servlet-name>
        <url-pattern>/jsptoserv/hello.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsptoserv.jsptoservlet_jsp</servlet-name>
        <url-pattern>/jsptoserv/jsptoservlet.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.tagfiles.hello_jsp</servlet-name>
        <url-pattern>/jsp2/tagfiles/hello.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.tagfiles.panel_jsp</servlet-name>
        <url-pattern>/jsp2/tagfiles/panel.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.tagfiles.products_jsp</servlet-name>
        <url-pattern>/jsp2/tagfiles/products.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.simpletag.book_jsp</servlet-name>
        <url-pattern>/jsp2/simpletag/book.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.simpletag.hello_jsp</servlet-name>
        <url-pattern>/jsp2/simpletag/hello.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.simpletag.repeat_jsp</servlet-name>
        <url-pattern>/jsp2/simpletag/repeat.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.misc.config_jsp</servlet-name>
        <url-pattern>/jsp2/misc/config.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.misc.dynamicattrs_jsp</servlet-name>
        <url-pattern>/jsp2/misc/dynamicattrs.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.jspx.basic_jspx</servlet-name>
        <url-pattern>/jsp2/jspx/basic.jspx</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.jspx.textRotate_jspx</servlet-name>
        <url-pattern>/jsp2/jspx/textRotate.jspx</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.jspattribute.jspattribute_jsp</servlet-name>
        <url-pattern>/jsp2/jspattribute/jspattribute.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.jspattribute.shuffle_jsp</servlet-name>
        <url-pattern>/jsp2/jspattribute/shuffle.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.el.basic_002darithmetic_jsp</servlet-name>
        <url-pattern>/jsp2/el/basic-arithmetic.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.el.basic_002dcomparisons_jsp</servlet-name>
        <url-pattern>/jsp2/el/basic-comparisons.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.el.functions_jsp</servlet-name>
        <url-pattern>/jsp2/el/functions.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.jsp2.el.implicit_002dobjects_jsp</servlet-name>
        <url-pattern>/jsp2/el/implicit-objects.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.include.foo_jsp</servlet-name>
        <url-pattern>/include/foo.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.include.include_jsp</servlet-name>
        <url-pattern>/include/include.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.forward.forward_jsp</servlet-name>
        <url-pattern>/forward/forward.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.forward.one_jsp</servlet-name>
        <url-pattern>/forward/one.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.error.err_jsp</servlet-name>
        <url-pattern>/error/err.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.error.errorpge_jsp</servlet-name>
        <url-pattern>/error/errorpge.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.dates.date_jsp</servlet-name>
        <url-pattern>/dates/date.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.colors.colrs_jsp</servlet-name>
        <url-pattern>/colors/colrs.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.checkbox.checkresult_jsp</servlet-name>
        <url-pattern>/checkbox/checkresult.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.cal.cal1_jsp</servlet-name>
        <url-pattern>/cal/cal1.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>org.apache.jsp.cal.cal2_jsp</servlet-name>
        <url-pattern>/cal/cal2.jsp</url-pattern>
    </servlet-mapping>

<!-- JSPC servlet mappings end -->

    <servlet-mapping>
        <servlet-name>
            CompressionFilterTestServlet
        </servlet-name>
        <url-pattern>
            /CompressionTest
        </url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>
            servletToJsp
        </servlet-name>
        <url-pattern>
            /servletToJsp
        </url-pattern>
    </servlet-mapping>

    <jsp-config>
        <taglib>
	    <taglib-uri>
	       http://jakarta.apache.org/tomcat/debug-taglib
	    </taglib-uri>
	    <taglib-location>
	       /WEB-INF/jsp/debug-taglib.tld
	    </taglib-location>
	</taglib>

	<taglib>
	    <taglib-uri>
	       http://jakarta.apache.org/tomcat/examples-taglib
	    </taglib-uri>
	    <taglib-location>
	       /WEB-INF/jsp/example-taglib.tld
	    </taglib-location>
	</taglib>

	<taglib>
	    <taglib-uri>
	       http://jakarta.apache.org/tomcat/jsp2-example-taglib
	    </taglib-uri>
	    <taglib-location>
	       /WEB-INF/jsp2/jsp2-example-taglib.tld
	    </taglib-location>
	</taglib>

	<jsp-property-group>
	    <description>
		Special property group for JSP Configuration JSP example.
	    </description>
	    <display-name>JSPConfiguration</display-name>
	    <url-pattern>/jsp2/misc/config.jsp</url-pattern>
	    <el-ignored>true</el-ignored>
	    <page-encoding>ISO-8859-1</page-encoding>
	    <scripting-invalid>true</scripting-invalid>
	    <include-prelude>/jsp2/misc/prelude.jspf</include-prelude>
	    <include-coda>/jsp2/misc/coda.jspf</include-coda>
	</jsp-property-group>
    </jsp-config>
    
   <security-constraint>
      <display-name>Example Security Constraint</display-name>
      <web-resource-collection>
         <web-resource-name>Protected Area</web-resource-name>
	 <!-- Define the context-relative URL(s) to be protected -->
         <url-pattern>/security/protected/*</url-pattern>
	 <!-- If you list http methods, only those methods are protected -->
	 <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>
         <!-- Anyone with one of the listed roles may access this area -->
         <role-name>tomcat</role-name>
	 <role-name>role1</role-name>
      </auth-constraint>
    </security-constraint>

    <!-- Default login configuration uses form-based authentication -->
    <login-config>
      <auth-method>FORM</auth-method>
      <realm-name>Example Form-Based Authentication Area</realm-name>
      <form-login-config>
        <form-login-page>/security/protected/login.jsp</form-login-page>
        <form-error-page>/security/protected/error.jsp</form-error-page>
      </form-login-config>
    </login-config>
        
    <!-- Security roles referenced by this web application -->
    <security-role>
      <role-name>role1</role-name>
    </security-role>
    <security-role>
      <role-name>tomcat</role-name>
    </security-role>    

    <!-- Environment entry examples -->
    <!--env-entry>
      <env-entry-description>
         The maximum number of tax exemptions allowed to be set.
      </env-entry-description>
      <env-entry-name>maxExemptions</env-entry-name>
      <env-entry-type>java.lang.Integer</env-entry-type>
      <env-entry-value>15</env-entry-value>
    </env-entry-->
    <env-entry>
      <env-entry-name>minExemptions</env-entry-name>
      <env-entry-type>java.lang.Integer</env-entry-type>
      <env-entry-value>1</env-entry-value>
    </env-entry>
    <env-entry>
      <env-entry-name>foo/name1</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>value1</env-entry-value>
    </env-entry>
    <env-entry>
      <env-entry-name>foo/bar/name2</env-entry-name>
      <env-entry-type>java.lang.Boolean</env-entry-type>
      <env-entry-value>true</env-entry-value>
    </env-entry>
    <env-entry>
      <env-entry-name>name3</env-entry-name>
      <env-entry-type>java.lang.Integer</env-entry-type>
      <env-entry-value>1</env-entry-value>
    </env-entry>
    <env-entry>
      <env-entry-name>foo/name4</env-entry-name>
      <env-entry-type>java.lang.Integer</env-entry-type>
      <env-entry-value>10</env-entry-value>
    </env-entry>

</web-app>
