diff WebContent/index.jsp @ 28:52adafab20c1

The Servlet now sends the audio file to the browser;
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 10 Dec 2013 12:02:46 +0000
parents 3b092b89c92e
children 0c66cff0d1cc
line wrap: on
line diff
--- a/WebContent/index.jsp	Mon Dec 09 16:57:52 2013 +0000
+++ b/WebContent/index.jsp	Tue Dec 10 12:02:46 2013 +0000
@@ -2,18 +2,6 @@
 <html>
     <head>
         <title>Human Echolocation</title>
-
-        <%
-          //  String distStr = request.getParameter("dist");
-          //  int dist = 1;
-          //  boolean distSet = false;
-          //  if(distStr!=null && distStr.length()>0)
-          //  {
-          //      dist = Integer.parseInt(distStr);
-          //      distSet = true;
-          //  }
-        %>
-
         <link rel="Stylesheet" type="text/css" media=all href="./StyleSheet.css" />
         <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
 
@@ -22,35 +10,34 @@
     </head>
 
     <body>
+        <div style="text-align: center">
+            <table width="760" cellpadding="0" cellspacing="0">
+                <tr>
+                    <td><img src="header_bg.jpg" alt="Header Image Not Found" width="779" height="72" /></td>
+                    </tr>
+            </table>
+            <br />
 
-            <div style="text-align: center">
-                <table width="760" cellpadding="0" cellspacing="0">
-                    <tr>
-                        <td><img src="header_bg.jpg" alt="Header Image Not Found" width="779" height="72" /></td>
-                    </tr>
-                </table>
-                <br />
+            <h1>Human Echolocation WebApp Example Page</h1>
 
-                <h1>Human Echolocation WebApp Example Page</h1>
+            Testing...<br />
 
-                Testing...
+            Input parameters:
+            <br>
+            Distance:
+            <input type="text" id="dist" "name="dist" size="8">
+            <br>
+            <input type="submit" value="Generate" id="generate">
+            <br>
 
-                Input parameters:
-                <br>
-                Distance:
-                <input type="text" id="dist" "name="dist" size="8">
-                <br>
-                <input type="submit" value="Generate" id="generate">
-                <br>
+            <div id="ajax-loading">
+                <img src="ajax-loader.gif" class="ajax-loader" style="display:none" /></div>
 
-                <div id="ajax-loading">
-                    <img src="ajax-loader.gif" class="ajax-loader" style="display:none" /></div>
+            <br />
 
-                <br />
+            <div id="responsetext"></div>
 
-                <div id="responsetext"></div>
-
-                <br>
+            <br>
             </div>
 
     </body>