FileDocCategorySizeDatePackage
HelloServlet.javaAPI DocExample540Sat Jan 05 11:47:08 GMT 2002None

HelloServlet

public class HelloServlet extends HttpServlet
The simplest possible servlet.

Fields Summary
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

        response.setContentType("text/plain");
        PrintWriter out = response.getWriter();

        out.println("Servlet  invoked!  ");
        out.println(new Date());