resp.setContentType("text/html");
PrintWriter out = resp.getWriter();
out.println("<HTML>");
out.println("<HEAD><TITLE>Finally, interaction!</TITLE></HEAD>");
out.println("<BODY><H1>Hello, " + req.getParameter("username") + "!</H1>");
out.println("</BODY></HTML>");