com.acme
Class HelloWorld
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.acme.HelloWorld
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, SingleThreadModel
public class HelloWorld
- extends HttpServlet
- implements SingleThreadModel
Dump Servlet Request.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelloWorld
public HelloWorld()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.