html = HTML.toHTML(articles, cat);
rp.setContentType("text/html");
rp.getWriter().write(html);
+ rp.setCharacterEncoding("UTF-8");
} else {
LOG.severe("writeArticles cannot retrieve any articles");
html = HTML.toHTML(new ArrayList<Article>(), cat);
String path;
InputStream in;
- LOG.info("doGet " + req.getRequestURI());
-
+ RequesterLog.singleton.writeRequest(req);
+
+ LOG.info("doGet " + req.getRemoteAddr().toString() + " " + req.getRequestURI() + " " + req.getQueryString());
+
path = req.getPathInfo();
if (path.equals("/redirect")) {