Ads

Tuesday, 20 October 2015

Servlet API

Posted By: Apoorva - 03:19
We can develop a servlet application using servlet API packages. There are two packages of servlet API javax.servlet and javax.servlet.http, which are contain many classes and interfaces.

javax.servlet package

javax.servlet package contains many interfaces and classes to develop servlet applications irrespective of any protocol. 

Interfaces

  1. Servlet
  2. ServletConfig
  3. ServletContext
  4. ServletRequest
  5. ServletResponse
  6. RequestDispatcher
  7. Filter
  8. FilterConfig
  9. FilterChain
  10. SingleThreadModel
  11. ServletRequestListener
  12. ServletRequestAttributeListener
  13. ServletContextListener
  14. ServletContextAttributeListener

Classes

  1. GenericServlet
  2. ServletException
  3. UnavailableException
  4. ServletInputStream
  5. ServletOutputStream
  6. ServletRequestWrapper
  7. ServletResponseWrapper
  8. ServletRequestEvent
  9. ServletContextEvent
  10. ServletRequestAttributeEvent
  11. ServletContextAttributeEvent

javax.servlet.http package

javax.servlet.http package defines many interfaces and classes to develop http request based servlet.

Interfaces

  1. HttpServletRequest
  2. HttpServletResponse
  3. HttpSession
  4. HttpSessionContext
  5. HttpSessionListener
  6. HttpSessionActivationListener
  7. HttpSessionAttributeListener
  8. HttpSessionBindingListener

Classes

  1. Cookie
  2. HttpServlet
  3. HttpUtils
  4. HttpServletRequestWrapper
  5. HttpServletResponseWrapper
  6. HttpSessionBindingEvent

Thank you visitors...! :) www.ease2code.com

About Apoorva

Hi, I am Hafeez Ullah Khan. A webdesigner, blogspot developer and UI designer. I am a certified Themeforest top contributor and popular at JavaScript engineers. We have a team of geeks and professinal programmers, developers work together and make unique blogger templates.

0 comments:

Post a Comment

© 2015 - Designed by: Templatezy & Copy Blogger Themes