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 / magesh

The GenericServlet which is the base class of HttpServlet
does not have any handler methods (doGet or doPost) to
entertain the request.Since all web based application or
HHTP based we are extending the HttpServlet and overrinding
atleast one of the hanler methods to entertain the incoming
requests

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s jboss jbpm?

1012


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!

1812


What are the different types of exception?

1020


What is the relationship between the canvas class and the graphics class?

1028


What is meant by method chaining?

1128


What is a modular application? What does module-relative mean?

1037


Can you give me a simple example of using the requiredif validator rule?

1102


How to pass parameters in RMI?

2246


What class is used to create Server side object ?

2223


What is the purpose of the notify() method?

1053


What is the purpose of the notifyall() method?

1031


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

1034


How are commas used in the intialization and iteration parts of a for statement?

1085


Explain about RMI Architecture?

1067


Is the session factory thread safe?

1158