FotoStream/war/WEB-INF/web.xml

36 lines
1.1 KiB
XML
Raw Permalink Normal View History

2015-12-15 11:52:47 +00:00
<?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 -->
2015-12-15 21:45:17 +00:00
<servlet>
<servlet-name>currentImageNameServlet</servlet-name>
<servlet-class>net.molez.mandlm.fotostream.server.CurrentImageNameServiceImpl</servlet-class>
2015-12-15 21:45:17 +00:00
</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>
2015-12-15 21:45:17 +00:00
</servlet-mapping>
2015-12-15 11:52:47 +00:00
<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>FotoStream.html</welcome-file>
</welcome-file-list>
</web-app>