net.dpml.test.http
Class HelloWorld
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.dpml.test.http.HelloWorld
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- public class HelloWorld
- extends HttpServlet
Hello World Servlet
- 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
- Servlet initialization.
- Parameters:
config
- the servlet configuration
- Throws:
ServletException
- if a configuration error occurs
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Process an incomming post request.
- Parameters:
request
- the http requestresponse
- the http response
- Throws:
ServletException
- if a servlet processing error occurs
IOException
- if an IO error occurs
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Process an incomming get request.
- Parameters:
request
- the http requestresponse
- the http response
- Throws:
ServletException
- if a servlet processing error occurs
IOException
- if an IO error occurs