add logging to stdout
output query result on the index.jsp page