Class HelloWorldExample
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
HelloWorldExample
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class HelloWorldExample
- extends HttpServlet
The simplest possible servlet.
- Author:
- James Duncan Davidson
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelloWorldExample
public HelloWorldExample()
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Overrides:
doGet
in class HttpServlet
- Throws:
IOException
ServletException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.