Strabon

view endpoint/WebContent/WEB-INF/web.xml @ 404:19a1ab72bd51

declaration of store.jsp in web.xml and minor changes in store.jsp
author Babis Nikolaou <charnik@di.uoa.gr>
date Fri Jun 29 16:24:47 2012 +0300 (2012-06-29)
parents 2ecb0d2877a8
children ddd7614d334b
line source
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app id="WebApp_ID" version="2.4"
3 xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
5 <display-name>StrabonEndpoint</display-name>
6 <context-param>
7 <param-name>contextConfigLocation</param-name>
8 <param-value>WEB-INF/beans.xml</param-value>
9 </context-param>
10 <listener>
11 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
12 </listener>
14 <servlet>
15 <display-name>Query</display-name>
16 <servlet-name>Query</servlet-name>
17 <servlet-class>eu.earthobservatory.org.StrabonEndpoint.QueryBean</servlet-class>
18 <load-on-startup>1</load-on-startup>
19 </servlet>
20 <servlet-mapping>
21 <servlet-name>Query</servlet-name>
22 <url-pattern>/Query</url-pattern>
23 </servlet-mapping>
25 <servlet>
26 <display-name>Store</display-name>
27 <servlet-name>Store</servlet-name>
28 <servlet-class>eu.earthobservatory.org.StrabonEndpoint.StoreBean</servlet-class>
29 <load-on-startup>1</load-on-startup>
30 </servlet>
31 <servlet-mapping>
32 <servlet-name>Store</servlet-name>
33 <url-pattern>/Store</url-pattern>
34 </servlet-mapping>
36 <servlet>
37 <display-name>Update</display-name>
38 <servlet-name>Update</servlet-name>
39 <servlet-class>eu.earthobservatory.org.StrabonEndpoint.UpdateBean</servlet-class>
40 <load-on-startup>1</load-on-startup>
41 </servlet>
42 <servlet-mapping>
43 <servlet-name>Update</servlet-name>
44 <url-pattern>/Update</url-pattern>
45 </servlet-mapping>
47 <servlet>
48 <servlet-name>store.jsp</servlet-name>
49 <jsp-file>/store.jsp</jsp-file>
50 </servlet>
52 <!-- <servlet> -->
53 <!-- <display-name>QueryServlet</display-name> -->
54 <!-- <servlet-name>QueryServlet</servlet-name> -->
55 <!-- <servlet-class>eu.earthobservatory.QueryServlet</servlet-class> -->
56 <!-- <load-on-startup>1</load-on-startup> -->
57 <!-- </servlet> -->
58 <!-- <servlet-mapping> -->
59 <!-- <servlet-name>QueryServlet</servlet-name> -->
60 <!-- <url-pattern>/QueryServlet</url-pattern> -->
61 <!-- </servlet-mapping> -->
63 <mime-mapping>
64 <extension>kml</extension>
65 <mime-type>application/vnd.google-earth.kml+xml</mime-type>
66 </mime-mapping>
67 <mime-mapping>
68 <extension>kmz</extension>
69 <mime-type>application/vnd.google-earth.kmz</mime-type>
70 </mime-mapping>
72 <session-config>
73 <session-timeout>60</session-timeout>
74 </session-config>
75 <welcome-file-list>
76 <welcome-file>Query</welcome-file>
77 </welcome-file-list>
78 </web-app>