What are the classes and interfaces for servlets?

Answer Posted / niranjanravi

The Classes and interfaces in javax.Servlet interface are
Interface----------------------------------Classes
Servlet.................................GenericServlet

ServletRequest.....................UnAvailableException
ServletResponse......................ServletException
SingleThreadModel
the classes and Interfaces in javax.servlet.httpservlet are
classes---------------------------Interfaces
HttpServlet.......................HttpServletRequest
HttpUtils........................HttpSession

Is This Answer Correct ?    16 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are servlets used?

735


What is meant by cookies?

819


How will you pass values from HTML page to the servlet?

768


what do you understand by url rewriting?

702


When servlet is loaded?

784


Write all the phases defined in servlet life cycle?

759


Can you refresh servlet in client and server-side automatically?

795


Explain the difference between jsp and servlet?

769


What are the different session tracking techniques?

947


What are all the advantages of servlet over cgi?

790


Is servlet synchronized?

804


How to get the current httpsession object?

863


What is the directory structure of a war file?

899


Why doesn’t a servlet include main()? How does it work?

854


Difference between GET and POST?

890