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 / luqman khan

HttpServlet is used to handle only http request & response.
where as GenericServlet is used to handle any type of requests.
Http servlet sends large data and its protocol ndependent
whereas GenericServlet sends a small data
Http servlet support cookies sessions.whereas genericservlet
does not support sessions.
Http servlet is protocol dependent.
it is a sub class of GenericServlet.
HttpServlet is a Abstract class.


Answer by M:luqman wazir bcs(5th semester) icup.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who is responsible for writing a constructor?

1253


What is a servlet context object?

1128


What’s the difference between sendredirect and forward methods

1054


What are the differences between servlet context vs servlet config?

1077


What do you mean by filter in servlet?

1002


What is cookies in servlet with example?

1110


Can you send an authentication error from a servlet?

965


What must be implemented by all servlets?

1094


What is URL Encoding?

1169


What is the difference between 2 types of servlets?

1139


What is setattribute in servlet?

1132


What are the objects involved when a servlet receives a call from client?

1032


What is java servlet?

1044


Which interface must be implemented by all servlets?

1339


Define context initialization parameters.

1027