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 is the difference between?when we write the code in
following manner?

class One extends httpservlet
{
}
and
class One extends genericservlet
{
}

Answer Posted / ravikiran.chd

the first one will restrict you to make use of http protocol
with the second one we can use other than http protocols as well

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of servlet and what is servlet chaining?

1095


When servlet is loaded?

1079


What are the key methods that are involved in processing of http servlets?

1113


What is servlet lazy loading?

1173


Can we refresh servlet in client and server side automatically?

1058


Explain the jar and war files in servlet?

1104


What are the phases of a servlet life cycle?

1120


What is the requirement of servlet config and servlet context implemented and how are they implemented?

1006


Explain the servlet filter.

983


When should you prefer to use doget() over dopost()?

1157


What are the types of an http request?

1158


Why are http servlets used in programming?

1009


What is the difference between a generic servlet and http servlet?

998


Why do we have servlet wrapper classes?

1070


How native code can be used in a servlet?

4069