Explain the methods in Generic and HTTP Servlets?

Answer Posted / guest

Generic servlets has service() method to handle requests

HttpServlet has doGet(),doPost(),doHead() mehtods

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a deployment descriptor?

820


What’s the difference between sendredirect and forward methods

803


Define the life cycle of a servlets.

782


What is called servlet container?

826


When servlet is loaded?

782


What are the types of servlets? Explain

899


How to read request headers from servlets?

786


What do you mean by request dispatcher in servlet?

851


What is the life cycle of a servlet?

1068


How can we upload the file to the server using servlet?

736


What is the need of session tracking in web application?

764


What is the use of httpservletresponsewrapper?

701


What is api in servlet?

736


What do you mean by mime type?

741


What is setattribute in servlet?

749