Lines Matching refs:writer
81 PrintWriter writer = response.getWriter();
83 writer.println("<html>");
84 writer.println("<head>");
85 writer.println("<title>Sample Application Servlet Page</title>");
86 writer.println("</head>");
87 writer.println("<body bgcolor=white>");
89 writer.println("<table border=\"0\">");
90 writer.println("<tr>");
91 writer.println("<td>");
92 //writer.println("<img src=\"images/tomcat.gif\">");
93 writer.println("</td>");
94 writer.println("<td>");
95 writer.println("<h1>Sample Application Servlet</h1>");
96 writer.println("This is the output of a servlet that is part of");
97 writer.println("the Hello, World application. It displays the");
98 writer.println("request headers from the request we are currently");
99 writer.println("processing.");
100 writer.println("</td>");
101 writer.println("</tr>");
102 writer.println("</table>");
104 writer.println("<table border=\"0\" width=\"100%\">");
108 writer.println("<tr>");
109 writer.println(" <th align=\"right\">" + name + ":</th>");
110 writer.println(" <td>" + request.getHeader(name) + "</td>");
111 writer.println("</tr>");
113 writer.println("</table>");
115 writer.println("</body>");
116 writer.println("</html>");