diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html
index d187b37b6..a38b7ea57 100644
--- a/htroot/yacysearch.html
+++ b/htroot/yacysearch.html
@@ -246,9 +246,11 @@ function latestinfo() {
var rsp = eval("(" + self.xmlHttpReq.responseText + ")");
statistics(rsp.offset, rsp.itemscount, rsp.itemsperpage, rsp.totalcount, rsp.localResourceSize, rsp.remoteResourceSize, rsp.remoteIndexCount, rsp.remotePeerCount, rsp.navurlBase);
}
- }
+ };
self.xmlHttpReq.send(null);
}
+// TODO: resets statistic on navigating to next page in Jetty implementation
+/*
window.setTimeout('latestinfo();',500);
window.setTimeout('latestinfo();',1000);
window.setTimeout('latestinfo();',1500);
@@ -259,6 +261,7 @@ window.setTimeout('latestinfo();',5000);
window.setTimeout('latestinfo();',6000);
window.setTimeout('latestinfo();',8000);
window.setTimeout('latestinfo();',10000);
+*/
diff --git a/source/net/yacy/http/Jetty8YaCyDefaultServlet.java b/source/net/yacy/http/Jetty8YaCyDefaultServlet.java
index b5a9c5041..4a3ebc5b7 100644
--- a/source/net/yacy/http/Jetty8YaCyDefaultServlet.java
+++ b/source/net/yacy/http/Jetty8YaCyDefaultServlet.java
@@ -447,6 +447,7 @@ public class Jetty8YaCyDefaultServlet extends YaCyDefaultServlet implements Reso
}
/* ------------------------------------------------------------ */
+ @Override
protected void sendData(HttpServletRequest request,
HttpServletResponse response,
boolean include,