org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/connectionTest.jsp
changeset 41 fc4a1d68260a
parent 2 e4420d2515f1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/connectionTest.jsp	Thu Jan 21 17:49:50 2010 -0800
@@ -0,0 +1,9 @@
+<%@ page import="org.symbian.tools.wrttools.previewer.http.WebAppInterface, javax.servlet.http.HttpServletResponse" %>
+<%
+	String widget = WebAppInterface.decode(request.getParameter("widget"));
+	String id = request.getParameter("session");
+	
+	if (WebAppInterface.isConnected(widget, id)) {
+		response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);
+	}
+%>
\ No newline at end of file