bookExamples.ch05ControlStructs
Class ServletDispatcher

java.lang.Object
  extended by bookExamples.ch05ControlStructs.ServletDispatcher

public class ServletDispatcher
extends java.lang.Object


Constructor Summary
ServletDispatcher()
           
 
Method Summary
 void add(DispatchCommand dc)
           
 void execute(java.lang.String s, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static void gotoPage(javax.servlet.http.HttpServlet s, java.lang.String address, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletDispatcher

public ServletDispatcher()
Method Detail

add

public void add(DispatchCommand dc)

execute

public void execute(java.lang.String s,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)

gotoPage

public static void gotoPage(javax.servlet.http.HttpServlet s,
                            java.lang.String address,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)