<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
				http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
         version="4.0"
         metadata-complete="true">

    <servlet>
        <servlet-name>cTest</servlet-name>
        <servlet-class>com.mahe666.servlet.CookieTest</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>cTest</servlet-name>
        <url-pattern>/cTest</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>sTest</servlet-name>
        <servlet-class>com.mahe666.servlet.SessionTest</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>sTest</servlet-name>
        <url-pattern>/sTest</url-pattern>
    </servlet-mapping>

    <session-config>
        <!--代表一分钟后过期-->
        <session-timeout>1</session-timeout>
    </session-config>
</web-app>
