org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/debugger.jsp
changeset 305 be8783adb3a8
parent 304 d92630dec325
child 306 42f09aa2b24a
child 308 c521df56b15d
--- a/org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/debugger.jsp	Wed Apr 14 11:17:26 2010 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-<%@ page import="org.symbian.tools.wrttools.previewer.http.WebAppInterface" %>
-<%
-	String widget = WebAppInterface.decode(request.getParameter("widget"));
-	String id = request.getParameter("session");
-%>
-<html>
-<head>
-	<title><%=widget %></title>
-	<% WebAppInterface.connectDebugger(widget, id); %>
-	<script type="text/javascript">
-		var req;
-		
-		function connect() {
-			req = new XMLHttpRequest();
-			req.onreadystatechange = testconnection;
-			req.open("GET", "<%=WebAppInterface.getAjaxUri(widget, id) %>", true);
-			req.send(null);
-		}
-		
-		function testconnection() {
-			if (req.readyState == 4) {
-				if (req.status == 200) {
-					window.setTimeout(connect, 200);
-				} else {
-					window.location = '<%=WebAppInterface.getUrl(widget, id) %>';
-				}
-			}
-		}
-	</script>
-</head>
-<body onload="connect()">
-Establishing debug connection...
-</body>
\ No newline at end of file