FileDocCategorySizeDatePackage
HtmlKonaHello.javaAPI DocExample541Tue Jan 25 10:45:14 GMT 2000None

HtmlKonaHello

public class HtmlKonaHello extends HttpServlet

Fields Summary
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)


    res.setContentType("text/html");

    ServletPage page = new ServletPage();
    page.getHead().addElement(new TitleElement("Hello World"));
    page.getBody().addElement(new BigElement("Hello World!"));

    page.output(res.getOutputStream());