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

Differentiate between the print writer and servlet output stream?

585


What are the life-cycle methods for a servlet?

578


How can we perform any action at the time of deploying the project?

651


How to create war file?

639


What is the workflow of a servlet?

744






How to get the current httpsession object?

689


What are the steps that are required to handle the multi-threading?

623


What is the difference between Server and Container?

655


What is meant by a servlet?

637


If servlet receives multiple requests, how many objects will it create?

865


Why servlet is used as controller ? Not JSP? I want complete explation?

693


Can you send an authentication error from a servlet?

545


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2310


Explain the difference between jsp and servlet?

610


How can a servlet be used to generate plain text instead of html?

570