--- android/MarketStats/src/dk/thoerup/marketstats/ShowStats.java 2010/04/23 12:31:41 659 +++ android/MarketStats/src/dk/thoerup/marketstats/ShowStats.java 2010/04/23 12:39:31 660 @@ -49,7 +49,6 @@ protected String doLookup(String appId) throws IOException { MemcachedClient c = new MemcachedClient(new InetSocketAddress("localhost", 11211)); - c.flush(); String key = "marketstats:" + appId; @@ -152,9 +151,10 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String appId = request.getParameter("appId"); + + response.setContentType("text/html"); PrintWriter out = response.getWriter(); - - out.print( "
" + doLookup(appId) + "
" ); + out.print( "
" + doLookup(appId) + "
" ); } }