}
String mode = request.getParameter("mode");
if("form".equals(mode)) {
String optstr = request.getParameter("types");
List<String> options = StringTools.arrayToList(optstr.split("\\s+"));
List<ConcordanceEntry> ces = Concordance.makeConcordance(indexerSearcher.filesForWord(word), word, 150, mode);
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html><head><title>foo</title></head><body><form method='POST' action='Search'>");
out.println("<input name='concordanceresults' type='hidden' value='foo'>");
out.println("<table>");