changeset 19:427fbd2fcf3e

add kml export servlet
author Sebastian Kruse <skruse@mpiwg-berlin.mpg.de>
date Mon, 26 Nov 2012 14:44:09 +0100
parents 60d50ef2261f
children 6bdbe4fb0c7e
files war/WEB-INF/web.xml
diffstat 1 files changed, 23 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/war/WEB-INF/web.xml	Mon Nov 26 14:43:08 2012 +0100
+++ b/war/WEB-INF/web.xml	Mon Nov 26 14:44:09 2012 +0100
@@ -1,24 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app
-    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-    "http://java.sun.com/dtd/web-app_2_3.dtd">
+<?xml version="1.0" encoding="utf-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns="http://java.sun.com/xml/ns/javaee"
+xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
 
-<web-app>
-  
-  <!-- Servlets -->
-  <servlet>
-    <servlet-name>flickrServiceImpl</servlet-name>
-    <servlet-class>econnect.wp3_3.server.FlickrServiceImpl</servlet-class>
-  </servlet>
-
-  <servlet-mapping>
-    <servlet-name>flickrServiceImpl</servlet-name>
-    <url-pattern>/sti/flickrService</url-pattern>
-  </servlet-mapping>  
-  
-  <!-- Default page to serve -->
-  <welcome-file-list>
-    <welcome-file>Sti.html</welcome-file>
-  </welcome-file-list>
-
+	<servlet>
+		<servlet-name>ExportServlet</servlet-name>
+		<servlet-class>econnect.wp3_3.server.ExportServlet</servlet-class>
+	</servlet>
+	<servlet-mapping>
+		<servlet-name>ExportServlet</servlet-name>
+		<url-pattern>/sti/ExportServlet</url-pattern>
+	</servlet-mapping>
+	
+	<servlet>
+		<servlet-name>ExportWriterImpl</servlet-name>
+		<servlet-class>econnect.wp3_3.server.ExportWriterImpl</servlet-class>
+	</servlet>
+	<servlet-mapping>
+		<servlet-name>ExportWriterImpl</servlet-name>
+		<url-pattern>/sti/ExportWriterImpl</url-pattern>
+	</servlet-mapping>
 </web-app>