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 difference between a static and a non-static inner class?

1157


For which statements does it make sense to use a label?

1082


How database connectivity in XML is achieved?

2242


Why a client should be multithreading? Explain.

1089


What is the highest-level event class of the event-delegation model?

1101


What are the design considerations while making a choice between using interface and abstract class?

1094


What are local interfaces? Describe.

1235


Difference between DurableSubscription and non- DurableSubscription?

2196


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

3007


what is Activation Instantinator?

2450


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1159


When is the best time to validate input?

1105


What is TL and its use?

2485


Can I use javascript to submit a form?

1149


What restrictions are placed on the location of a package statement within a source code file?

1113