diff -r 9bebb93c6833 -r fc4a1d68260a org.symbian.tools.wrttools.previewer/http-content/wrtdebugger/connectionTest.jsp --- /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