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...

Why does most servlets extend HttpServlet?

Answer Posted / dhiraj

All servlet classes extend the HttpServlet abstract class.
HttpServlet simplifies writing HTTP servlets by providing a
framework for handling the HTTP protocol. Because
HttpServlet is abstract, your servlet class must extend it
and override at least one of its methods. An abstract class
is a class that contains unimplemented methods and cannot be
instantiated itself.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the RMI and Socket?

1053


What is a clone?

1053


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2995


What is the relation between the infobus and rmi?

1002


Explain the advantages and disadvantages of detached objects.

1018


What’s jboss cache in short?

1115


What are the steps to write p-to-p model application?

2477


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

1027


What are the oops concept?

1066


What is meant by method chaining?

1141


What are the services in RMI ?

2349


What is colon_pkg_prefixes and what is its use?

2512


What are the diff types of exception?

1049


Difference between loadclass and class.forname?

1042


What is bean? Where can it be used?

1159