summaryrefslogtreecommitdiffstats
path: root/petascope/web
diff options
context:
space:
mode:
authorConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
committerConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
commit40e12c6af9d05c3413efaf535c35c625b736cbb9 (patch)
tree6a9f6b86b55724e659ca270171496d82362de9cc /petascope/web
parentfcda34adb1c78d0929778e1324c873552d21ee1d (diff)
downloadrasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.gz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.xz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.zip
preparing for joining with rasdaman open source
Diffstat (limited to 'petascope/web')
-rw-r--r--petascope/web/META-INF/context.xml2
-rw-r--r--petascope/web/WEB-INF/web.xml36
-rw-r--r--petascope/web/index.jsp24
3 files changed, 62 insertions, 0 deletions
diff --git a/petascope/web/META-INF/context.xml b/petascope/web/META-INF/context.xml
new file mode 100644
index 0000000..b3eae8b
--- /dev/null
+++ b/petascope/web/META-INF/context.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context antiJARLocking="true" path="/PetaScope"/>
diff --git a/petascope/web/WEB-INF/web.xml b/petascope/web/WEB-INF/web.xml
new file mode 100644
index 0000000..5ea7948
--- /dev/null
+++ b/petascope/web/WEB-INF/web.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" 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">
+ <description>PetaScope project offers WCS, WCPS and WCS-T services.</description>
+ <display-name>PetaScope</display-name>
+ <servlet>
+ <description>WCPS Service</description>
+ <servlet-name>wcpsServlet</servlet-name>
+ <servlet-class>wcps.server.servlet.WCPSServlet</servlet-class>
+ </servlet>
+ <servlet>
+ <description>WCS-T Service</description>
+ <servlet-name>wcstServlet</servlet-name>
+ <servlet-class>wcst.server.servlet.wcstServlet</servlet-class>
+ </servlet>
+ <servlet>
+ <servlet-name>PetaScope Interface</servlet-name>
+ <servlet-class>petascope.PetascopeInterface</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>wcpsServlet</servlet-name>
+ <url-pattern>/wcps</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>wcstServlet</servlet-name>
+ <url-pattern>/wcst</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>PetaScope Interface</servlet-name>
+ <url-pattern>/earthlook</url-pattern>
+ </servlet-mapping>
+ <session-config>
+ <session-timeout>
+ 30
+ </session-timeout>
+ </session-config>
+</web-app>
diff --git a/petascope/web/index.jsp b/petascope/web/index.jsp
new file mode 100644
index 0000000..6430298
--- /dev/null
+++ b/petascope/web/index.jsp
@@ -0,0 +1,24 @@
+<%--
+ Document : WAR Application index entry point
+ Created on : Apr 21, 2009, 7:47:47 AM
+ Author : Andrei Aiordachioaie
+--%>
+
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta http-equiv="refresh" content="0;url=earthlook">
+ <title>PetaScope Implementation</title>
+ </head>
+ <body>
+ <div align="center"><h1>PetaScope Implementation</h1></div>
+
+ <br/>
+ Hold on, you are being redirected to the <a href="earthlook">PetaScope interface</a> ...
+
+ </body>
+</html>