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 Generic Servlet and how it is different from Http
Servlet?

Answer Posted / l sujata

Actually generic sevlet class is a super class of
HttpServlet class.both of these classes are abstract in
nature.As in generic servlet service () methob is not
defined so they r defined in HttpServlet class. as we are
not interested to create an object of HttpServlet class
so,we make it as abstract class and class that implemnts
HttpServlet Class creates objects and uses three methods
such as init(),service(),destroy() mainly.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the process for chaining servlet?

1031


What is servlet mapping?

1003


What is servlet looping or chaining?

1109


What do you mean by chaining in servlet?

1017


Explain the difference between generic servlet and http servlet?

985


How can an existing session be invalidated?

1153


why we should override only no-agrs init() method.

1122


Can we use the constructor, instead of init(), to initialize servlet?

1086


How to rectify errors in java servlet while compilation?

938


How to commuincate between an applet and a servlet?

1027


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3380


What are the life cycle methods of a servlet?

1031


What are different ways for servlet authentication?

1090


What is cookie? Why is cookie used?

1044


What do you mean by session tracking?

1193