Notes On Servlet API or Explain about the servlet packages

11/12/10
Posted by Fulto

Servlet API contains the following 2 paclages.

1. java.servlet
2. java.servlet.http


Package java.servlet

This package contains the following list of classes and interfaces

Interfaces

  1. RequestDispatcher
  2. Servlet
  3. ServletConfig
  4. ServletContext
  5. ServletRequest
  6. ServletResponse
  7. SingleThreadModel

Classes

  1. GenericServlet
  2. ServletException
  3. ServletInputStream
  4. ServletOutputStream
  5. UnavailableException
Package java.servlet.http



This package contains the following list of interfaces and classes


Interfaces

  1. HttpServletRequest
  2. HttpServletResponse
  3. HttpSession
  4. HttpSessionBindingListener
  5. HttpSessionContext


Classes

  1. Cookie
  2. HttpServlet
  3. HttpSessionBindingEvent
  4. HttpUtils
The Following figure shows the list of Packages , classes and interfaces of servlet API



People who read this post also read :



Labels:

0 comments: