<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

  <listener>
    <listener-class>
      org.springframework.web.context.ContextLoaderListener
    </listener-class>
  </listener>

  <servlet>
    <servlet-name>DocumentConverterServlet</servlet-name>
    <servlet-class>
      com.artofsolving.jodconverter.web.DocumentConverterServlet
    </servlet-class>
  </servlet>

  <servlet>
    <servlet-name>DocumentConverterServiceServlet</servlet-name>
    <servlet-class>
      com.artofsolving.jodconverter.web.DocumentConverterServiceServlet
    </servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>DocumentConverterServlet</servlet-name>
    <url-pattern>/converted/*</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>DocumentConverterServiceServlet</servlet-name>
    <url-pattern>/service</url-pattern>
  </servlet-mapping>

</web-app>
