FotoStream/war/WEB-INF/web.xml

26 lines
803 B
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>currentImageURLServlet</servlet-name>
<servlet-class>net.molez.mandlm.fotostream.server.CurrentImageURLServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>currentImageURLServlet</servlet-name>
<url-pattern>/fotostream/currentImageURL</url-pattern>
</servlet-mapping>
<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>FotoStream.html</welcome-file>
</welcome-file-list>
</web-app>