rendered paste body res.setContentType("text/html");
// set the response type before sending data
PrintWriter out = res.getWriter();
out.print("<HTML>");
out.print("<HEAD><TITLE>");
out.print(properties.getProperty("author.name"));
out.print("'s Application Initialization Servlet</TITLE></HEAD>");
out.print("<BODY>");
out.print("<h2>");
out.print(properties.getProperty("author.name"));
out.print("'s Applicaiton Initialization Servlet</h2><br /><br />");
out.print(context.getAttribute("props"));
out.print(context.getAttribute("directory"));
out.write("<img src=\"/images/coyoteFace.jpg\" alt=\"Desert Coyote\" /><br />");
out.write("<br /><a href=\"/\">home page</a><br />");
out.print("</BODY>");
out.print("</HTML>");
out.close();