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.
Thank you visitors...! :) www.ease2code.com
Interfaces
- Servlet
- ServletConfig
- ServletContext
- ServletRequest
- ServletResponse
- RequestDispatcher
- Filter
- FilterConfig
- FilterChain
- SingleThreadModel
- ServletRequestListener
- ServletRequestAttributeListener
- ServletContextListener
- ServletContextAttributeListener
Classes
- GenericServlet
- ServletException
- UnavailableException
- ServletInputStream
- ServletOutputStream
- ServletRequestWrapper
- ServletResponseWrapper
- ServletRequestEvent
- ServletContextEvent
- ServletRequestAttributeEvent
- ServletContextAttributeEvent
javax.servlet.http package
javax.servlet.http package defines many interfaces and classes to develop http request based servlet.
Interfaces
- HttpServletRequest
- HttpServletResponse
- HttpSession
- HttpSessionContext
- HttpSessionListener
- HttpSessionActivationListener
- HttpSessionAttributeListener
- HttpSessionBindingListener
Classes
- Cookie
- HttpServlet
- HttpUtils
- HttpServletRequestWrapper
- HttpServletResponseWrapper
- HttpSessionBindingEvent
Thank you visitors...! :) www.ease2code.com

0 comments:
Post a Comment