com.taggercat.controller
Class Servlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.taggercat.controller.Servlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Servlet
extends javax.servlet.http.HttpServlet

This is a basic Tagger Cat Servlet that is the entry point to the controller. Each Tagger Cat application will typically have only controller servlet. This servlet class is very simple and is designed to be a replaceable component of Tagger Cat if wanted.

See Also:
Serialized Form
 

Constructor Summary
Servlet()
           
 
Method Summary
 void init()
          Initialize the servlet instance.
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Services both post and get requests.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Servlet

public Servlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Initialize the servlet instance.

Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException
Services both post and get requests. All requests are sent to the request map for processing.

Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException - thrown on error during servicing of request
Parameters:
request - the HttpServletRequest instance
response - the HttpServletResponse instance