public static void printResponseEpilogue( HttpServlet servlet, HttpServletRequest req, HttpServletResponse resp) throws IOException { resp.getWriter() .println( HtmlUtils.getLink( "/" + servlet.getServletContext().getServletContextName(), "Return to Demo")); resp.getWriter().println(HtmlUtils.getBodyClose()); resp.getWriter().println(HtmlUtils.getPreFormatOpen()); }
public static void printResponsePrologue(HttpServletRequest req, HttpServletResponse resp) throws IOException { resp.getWriter().println(HtmlUtils.getBodyBegin("")); }
public static void printResponseLine( HttpServletRequest req, HttpServletResponse resp, String line) throws IOException { resp.getWriter().println(line); resp.getWriter().println(HtmlUtils.getBreak()); }