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 are using HttpServlet in realtime projects and why are
not using Genericservlet

Answer Posted / arun sharma

HttpServlet is Http Protocol Specific whereas Generic
servlet is protocol independent and as we know that on
world wide web only http protocol exists thats why most of
the servlets are developed using HttpServlet class. but id
we want proocol independent servlet in that case we develop
servlet using GenericServlet class.

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of cookies?

1077


What do you mean by web applications?

1132


What is httpservlet class?

1076


What's the use of servletcontext?

1104


Explain web application directory arrangement?

1012


What is called Scriptlet?

1065


What is lazy loading and what is Generic Servlet Class?

1037


How to notify an object in session when session is invalidated or timed-out?

1038


What is the use of servletconfig interface?

999


What is ServletConfig object?

1120


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

973


What are the two important api's in for servlets?

1025


What are the functions of an intercepting filter?

903


Whats the advantages using servlets over using CGI?

1016


Difference between doget and dopost?

1118