Mercurial > hg > digilib
view webapp/src/main/webapp/WEB-INF/web-3.0.xml @ 1319:cbe3a754ff1b
polygon annotations mostly work now!
| author | robcast |
|---|---|
| date | Fri, 23 Jan 2015 16:29:51 +0100 |
| parents | 09424acc2216 |
| children | 053ff2ca45e3 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <web-app version="3.0" 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"> <!-- 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>
