<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--

 Sample version of the Deployment Descriptor file suitable 
 for the MathKernel web application of webMathematica.
 The settings are suitable for a Unix installation.

 Note that the DOCTYPE declaration is present so that 
 a validating XML parser can validate this document. 
 If your server is behind a firewall you may need to 
 specify the proxy server to be used to reach the DTD.

-->
<web-app>
    <servlet>
        <servlet-name>
            MSP
        </servlet-name>
        <servlet-class>
            MSP
        </servlet-class>
        <init-param>
            <param-name>wolfram.configuration_directory</param-name>
            <param-value>/usr/local/Mathematica/AddOns/Applications/MSP/Configuration</param-value>
        </init-param>
    </servlet>

    <servlet>
        <servlet-name>
            KernelMonitor
        </servlet-name>
        <servlet-class>
            KernelMonitor
        </servlet-class>
    </servlet>

    <servlet-mapping>
       <servlet-name>
            MSP
        </servlet-name>
        <url-pattern>
            /MSP/*
        </url-pattern>
    </servlet-mapping>
    
    <servlet-mapping>
       <servlet-name>
            KernelMonitor
        </servlet-name>
        <url-pattern>
            /KernelMonitor/*
        </url-pattern>
    </servlet-mapping>

</web-app>