view webapp/src/main/webapp/WEB-INF/web-3.0.xml @ 1710:990aab100aa3

trying with travis...
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Mon, 18 Feb 2019 20:23:55 +0100
parents 62246fdad980
children
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<web-app
        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_3_0.xsd"
        version="3.0">
        
  <!-- General description of your web application -->
  <display-name>
        digilib
  </display-name>
  <description>
        This is the web frontend of the Digital Document Library.
  </description>
  <!-- The Intialisation Listener (also configured by annotation) -->
  <listener>
        <listener-class>
            digilib.conf.DigilibServlet3Configuration
        </listener-class>
  </listener>
  <!-- The Scaler servlet (also configured by annotation) -->
  <servlet>
        <servlet-name>
            Scaler
        </servlet-name>
        <servlet-class>
            digilib.servlet.Scaler
        </servlet-class>
        <!-- Load this servlet at server startup time -->
        <load-on-startup>
            5
        </load-on-startup>
        <!-- yes we do use async, Jetty! -->
        <async-supported>true</async-supported>
  </servlet>
  <!-- The mapping for the Scaler servlet -->
  <servlet-mapping>
        <servlet-name>
            Scaler
        </servlet-name>
        <url-pattern>
            /servlet/Scaler/*
        </url-pattern>
  </servlet-mapping>
  <servlet-mapping>
        <servlet-name>
            Scaler
        </servlet-name>
        <url-pattern>
            /Scaler/*
        </url-pattern>
  </servlet-mapping>
  
  
</web-app>