incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shee...@apache.org
Subject svn commit: r706388 - in /incubator/olio/geocoder/Web20Emulator: ./ META-INF/ WEB-INF/ WEB-INF/classes/ WEB-INF/classes/com/ WEB-INF/classes/com/sun/ WEB-INF/classes/com/sun/pae/ WEB-INF/classes/com/sun/pae/emulators/
Date Mon, 20 Oct 2008 19:47:40 GMT
Author: sheetal
Date: Mon Oct 20 12:47:40 2008
New Revision: 706388

URL: http://svn.apache.org/viewvc?rev=706388&view=rev
Log:
Adding Web20Emulator

Added:
    incubator/olio/geocoder/Web20Emulator/
    incubator/olio/geocoder/Web20Emulator/META-INF/
    incubator/olio/geocoder/Web20Emulator/META-INF/MANIFEST.MF
    incubator/olio/geocoder/Web20Emulator/META-INF/context.xml
    incubator/olio/geocoder/Web20Emulator/WEB-INF/
    incubator/olio/geocoder/Web20Emulator/WEB-INF/GeocodeResponse.xsd
    incubator/olio/geocoder/Web20Emulator/WEB-INF/SampleResponse.xml
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/Geocoder.class
  (with props)
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean$OutputType.class
  (with props)
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean.class
  (with props)
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderServlet.class
  (with props)
    incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/LatLngDegrees.class
  (with props)
    incubator/olio/geocoder/Web20Emulator/WEB-INF/web.xml
    incubator/olio/geocoder/Web20Emulator/index.jsp

Added: incubator/olio/geocoder/Web20Emulator/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/META-INF/MANIFEST.MF?rev=706388&view=auto
==============================================================================
--- incubator/olio/geocoder/Web20Emulator/META-INF/MANIFEST.MF (added)
+++ incubator/olio/geocoder/Web20Emulator/META-INF/MANIFEST.MF Mon Oct 20 12:47:40 2008
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.6.0-rc-b104 (Sun Microsystems Inc.)
+

Added: incubator/olio/geocoder/Web20Emulator/META-INF/context.xml
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/META-INF/context.xml?rev=706388&view=auto
==============================================================================
--- incubator/olio/geocoder/Web20Emulator/META-INF/context.xml (added)
+++ incubator/olio/geocoder/Web20Emulator/META-INF/context.xml Mon Oct 20 12:47:40 2008
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context path="/WebApplication1"/>

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/GeocodeResponse.xsd
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/GeocodeResponse.xsd?rev=706388&view=auto
==============================================================================
--- incubator/olio/geocoder/Web20Emulator/WEB-INF/GeocodeResponse.xsd (added)
+++ incubator/olio/geocoder/Web20Emulator/WEB-INF/GeocodeResponse.xsd Mon Oct 20 12:47:40
2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+  targetNamespace="urn:yahoo:maps"
+  xmlns="urn:yahoo:maps"
+  elementFormDefault="qualified">
+
+	<xs:element name="ResultSet">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="Result" type="ResultType" minOccurs="0" maxOccurs="50" />
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+
+	<xs:complexType name="ResultType">
+		<xs:sequence>
+			<xs:element name="Latitude" type="xs:decimal" />
+			<xs:element name="Longitude" type="xs:decimal" />
+			<xs:element name="Address" type="xs:string" />
+			<xs:element name="City" type="xs:string" />
+			<xs:element name="State" type="xs:string" />
+			<xs:element name="Zip" type="xs:string" />
+			<xs:element name="Country" type="xs:string" />
+		</xs:sequence>
+		<xs:attribute name="precision" type="xs:string" />
+		<xs:attribute name="warning" type="xs:string" use="optional"/>
+	</xs:complexType>
+	
+</xs:schema>
+<!-- ws05.search.scd.yahoo.com compressed/chunked Fri Apr 13 16:07:31 PDT 2007 -->

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/SampleResponse.xml
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/SampleResponse.xml?rev=706388&view=auto
==============================================================================
--- incubator/olio/geocoder/Web20Emulator/WEB-INF/SampleResponse.xml (added)
+++ incubator/olio/geocoder/Web20Emulator/WEB-INF/SampleResponse.xml Mon Oct 20 12:47:40 2008
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResultSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns="urn:yahoo:maps"
+xsi:schemaLocation="urn:yahoo:maps http://api.local.yahoo.com/MapsService/V1/GeocodeResponse.xsd">
+  <Result precision="address">
+    <Latitude>37.416384</Latitude>
+    <Longitude>-122.024853</Longitude>
+    <Address>701 FIRST AVE</Address>
+    <City>SUNNYVALE</City>
+    <State>CA</State>
+    <Zip>94089-1019</Zip>
+    <Country>US</Country>
+  </Result>
+</ResultSet>
\ No newline at end of file

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/Geocoder.class
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/Geocoder.class?rev=706388&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/Geocoder.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean$OutputType.class
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean%24OutputType.class?rev=706388&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean$OutputType.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean.class
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean.class?rev=706388&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderBean.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderServlet.class
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderServlet.class?rev=706388&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/GeocoderServlet.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/LatLngDegrees.class
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/LatLngDegrees.class?rev=706388&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/olio/geocoder/Web20Emulator/WEB-INF/classes/com/sun/pae/emulators/LatLngDegrees.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/olio/geocoder/Web20Emulator/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/WEB-INF/web.xml?rev=706388&view=auto
==============================================================================
--- incubator/olio/geocoder/Web20Emulator/WEB-INF/web.xml (added)
+++ incubator/olio/geocoder/Web20Emulator/WEB-INF/web.xml Mon Oct 20 12:47:40 2008
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+    <servlet>
+        <servlet-name>GeocoderServlet</servlet-name>
+        <servlet-class>com.sun.pae.emulators.GeocoderServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>GeocoderServlet</servlet-name>
+        <url-pattern>/geocode</url-pattern>
+    </servlet-mapping>
+    <session-config>
+        <session-timeout>
+            30
+        </session-timeout>
+    </session-config>
+    <welcome-file-list>
+	<welcome-file>
+            index.jsp
+        </welcome-file>
+    </welcome-file-list>
+</web-app>

Added: incubator/olio/geocoder/Web20Emulator/index.jsp
URL: http://svn.apache.org/viewvc/incubator/olio/geocoder/Web20Emulator/index.jsp?rev=706388&view=auto
==============================================================================
--- incubator/olio/geocoder/Web20Emulator/index.jsp (added)
+++ incubator/olio/geocoder/Web20Emulator/index.jsp Mon Oct 20 12:47:40 2008
@@ -0,0 +1,36 @@
+<%@page contentType="text/html"%>
+<%@page pageEncoding="UTF-8"%>
+<%--
+The taglib directive below imports the JSTL library. If you uncomment it,
+you must also add the JSTL library to the project. The Add Library... action
+on Libraries node in Projects view can be used to add the JSTL 1.1 library.
+--%>
+<%--
+<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
+--%>
+
+<!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">
+        <title>JSP Page</title>
+    </head>
+    <body>
+
+    <h1>JSP Page</h1>
+    
+    <%--
+    This example uses JSTL, uncomment the taglib directive above.
+    To test, display the page like this: index.jsp?sayHello=true&name=Murphy
+    --%>
+    <%--
+    <c:if test="${param.sayHello}">
+        <!-- Let's welcome the user ${param.name} -->
+        Hello ${param.name}!
+    </c:if>
+    --%>
+    
+    </body>
+</html>



Mime
View raw message