response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<HEAD>");
out.println("<TITLE>");
out.println("A New Servlet");
out.println("</TITLE>");
out.println("</HEAD>");
out.println("<BODY>");
out.println("<H1>");
out.println("A New Servlet");
out.println("</H1>");
out.println("Editing servlets in place");
out.println("</BODY>");
out.println("</HTML>");