36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app 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"
|
|
version="2.5"
|
|
xmlns="http://java.sun.com/xml/ns/javaee">
|
|
|
|
<!-- Servlets -->
|
|
|
|
<servlet>
|
|
<servlet-name>currentImageNameServlet</servlet-name>
|
|
<servlet-class>net.molez.mandlm.fotostream.server.CurrentImageNameServiceImpl</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>currentImageNameServlet</servlet-name>
|
|
<url-pattern>/fotostream/currentImageName</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet>
|
|
<servlet-name>ImageServlet</servlet-name>
|
|
<servlet-class>net.molez.mandlm.fotostream.server.ImageServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>ImageServlet</servlet-name>
|
|
<url-pattern>/image</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<!-- Default page to serve -->
|
|
<welcome-file-list>
|
|
<welcome-file>FotoStream.html</welcome-file>
|
|
</welcome-file-list>
|
|
|
|
</web-app>
|