com.tirsen.angkor
Class ComponentServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.tirsen.angkor.ComponentServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ComponentServlet
extends javax.servlet.http.HttpServlet

Fetches a named component based either on configuration in a init parameter or on the last part of the request uri, the named component is fetched from the application instantiated by the ApplicationFilter which must be mapped to all requests to this servlet.

Version:
$Revision: 1.6 $
Author:
$Author: tirsen $
See Also:
Serialized Form

Constructor Summary
ComponentServlet()
           
 
Method Summary
 void init(javax.servlet.ServletConfig config)
           
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentServlet

public ComponentServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
javax.servlet.ServletException

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException
Overrides:
service in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException


Copyright © 2002-2002 . All Rights Reserved.