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.
-
HelloWorldServlet()
-
-
service(HttpServletRequest, HttpServletResponse)
- A very simple implementation of the service method, in
which we output the contents of a static html page
HelloWorldServlet
public HelloWorldServlet()
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