<?xml version="1.0"?>

<!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>

    <!--+
        | This forces all the session cookies to default to the root path.
        | to allow sessions to work even when butterfly is handling
        | multiple zones.
        | NOTE: this is jetty-specific, so other web-app servers
        | might require different parameters.
        +-->
    <context-param>
        <param-name>org.mortbay.jetty.servlet.SessionPath</param-name>
        <param-value>/</param-value>
    </context-param>
     
    <servlet>
        <servlet-name>gridworks</servlet-name>
        <servlet-class>com.metaweb.gridworks.GridworksServlet</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>gridworks</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>
        
</web-app>