com.acme
Class DispatchServlet

java.lang.Object
  extended by HttpServlet
      extended by com.acme.DispatchServlet

public class DispatchServlet
extends HttpServlet

Test Servlet RequestDispatcher.

Author:
Greg Wilkins (gregw)

Constructor Summary
DispatchServlet()
           
 
Method Summary
 void destroy()
           
 void doGet(HttpServletRequest sreq, HttpServletResponse sres)
           
 void doPost(HttpServletRequest sreq, HttpServletResponse sres)
           
 String getServletInfo()
           
 void init(ServletConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatchServlet

public DispatchServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

doPost

public void doPost(HttpServletRequest sreq,
                   HttpServletResponse sres)
            throws ServletException,
                   IOException
Throws:
ServletException
IOException

doGet

public void doGet(HttpServletRequest sreq,
                  HttpServletResponse sres)
           throws ServletException,
                  IOException
Throws:
ServletException
IOException

getServletInfo

public String getServletInfo()

destroy

public void destroy()


Copyright © 2007 Mort Bay Consulting. All Rights Reserved.