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

Describe responsibilities of Activator?

2171


What are the sequence of steps to write pub or sub model kind of application?

2451


Explain the different types of memory used by jvm?

1065


What state does a thread enter when it terminates its processing?

1018


When a thread blocks on i/o?

1033


Are we allowed to change the transaction isolation property in middle of a transaction?

986


what are memory considerations of jsp compares to other web components?

6465


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1778


What is the relation between the infobus and rmi?

953


What is the purpose of the finally clause of a try-catch-finally statement?

983


What happens when a thread cannot acquire a lock on an object?

974


How is a java object message delivered to a non-java client?

997


Difference between DurableSubscription and non- DurableSubscription?

2136


Is the ternary operator written x : y ? Z or x ? Y : z ?

1049


Describe, in general, how java's garbage collector works?

985