<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee                http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <listener>
        <listener-class>org.modeshape.web.jcr.ModeShapeJcrDeployer</listener-class>
    </listener>
    <!-- Servlets -->
    <servlet>
        <servlet-name>jcrServlet</servlet-name>
        <servlet-class>org.modeshape.web.server.JcrServiceImpl</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>InitialServlet</servlet-name>
        <servlet-class>org.modeshape.web.InitialServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>jcrServlet</servlet-name>
        <url-pattern>/console/jcr</url-pattern>
    </servlet-mapping>
    <!-- Default page to serve -->
    <servlet-mapping>
        <servlet-name>InitialServlet</servlet-name>
        <url-pattern>/tree/*</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
        <welcome-file>Console.html</welcome-file>
    </welcome-file-list>
</web-app>
