public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException, ServletException {
		resp.setContentType("text/html");
		resp.setCharacterEncoding("utf-8");

		setSearchResult();
		extendedLinkedHashMap<String, String> elhm = this.searchResult
				.getRootMap();
		resp.getWriter()
				.println(
						"<h2>あいまい検索された単語と、検索結果の対応表</h2><table border=\"1\" cellspacing=\"0\" ><tr><th>検索語</th><th>検索結果</th></tr>");
		for (String key : elhm.keySet()) {
			resp.getWriter().println(
					"<tr><td><a href=\"/co?n=" + key + "\">" + key
							+ "</a></td><td>" + elhm.get(key) + "</td></tr>");
		}

		if (req.getParameter("hp") != null) {
			resp.getWriter().println("</table><a href=\"/\">戻る</a>");
			makePersistentSearchResult();
			setHumanProp();
			makePersistentHumanProp();
			LinkedHashMap<String, LinkedHashMap<String, String>> rootMap = humanProp
					.getRootMap();
			resp.getWriter()
					.println(
							"<table border=\"1\" cellspacing=\"0\"><tr><th>名前</th><th>テンプレート</th><th>性別</th></tr>");
			for (String name : rootMap.keySet()) {
				if (!rootMap.containsKey(name) || rootMap.get(name) == null) {
					resp.getWriter().println(name + "にはエラーがあります");
					continue;
				}
				resp.getWriter().println(
						"<tr><td><a href=\"http://ja.wikipedia.org/wiki/"
								+ name + "\">" + name + "</a></td>");
				if (rootMap.get(name).containsKey("t"))
					resp.getWriter().println(
							"<td>" + rootMap.get(name).get("t") + "</td>");
				else
					resp.getWriter().println("<td></td>");
				if (rootMap.get(name).containsKey("g"))
					resp.getWriter().println(
							"<td>" + rootMap.get(name).get("g") + "</td>");
				else
					resp.getWriter().println("<td></td>");
				resp.getWriter().println("</tr>");
			}
			resp.getWriter().println("</table>");
		}
	}