Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the methods in HttpServlet?

Answer Posted / abdul

There are 7 methods present in the HttpServlet.
doGet().
doPost()
doPut().
doTrace()
doDelete()
doHead()
doOptions()

* Note :doConnect() is not present in HttpServlet. The
developers of the API didn't feel the use of doConnect in
Servlet.

Is This Answer Correct ?    29 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functions of the servlet container?

1628


What are the benefits of using servlet over cgi?

1072


Describe the phases of servlet lifecycle?

1071


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

1039


Which method of the httpservletrequest object is used?

1098


What is servlet and its advantages?

1055


What is the use of servlet wrapper classes?

1188


Define context initialization parameters.

1045


How many servlet objects are created?

1069


How do we share data using 'getservletcontext ()?

1050


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1029


What’s the difference between forward() and sendredirect() methods?

1017


What are the important functions of filters?

1149


What is SingleThreadModel interface?

1151


How can you use a servlet to generate a plain text instead of html?

1135