All Examples  This Package

Class examples.servlets.HelloWorldServlet

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----examples.servlets.HelloWorldServlet

public class HelloWorldServlet
extends HttpServlet
Hello World. The minimal servlet.


Constructor Index

 o HelloWorldServlet()

Method Index

 o service(HttpServletRequest, HttpServletResponse)
A very simple implementation of the service method, in which we output the contents of a static html page

Constructors

 o HelloWorldServlet
 public HelloWorldServlet()

Methods

 o service
 public void service(HttpServletRequest req,
                     HttpServletResponse res) throws IOException
A very simple implementation of the service method, in which we output the contents of a static html page

Overrides:
service in class HttpServlet

All Examples  This Package