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

Which protocol will be used by browser and servlet to communicate

1059


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

1157


When a servlet accepts a call from a client, it receives two objects. What are they?

1244


How do you configure a centralized error handler in servlets?

1108


What is the functionality of actionservlet and requestprocessor?

1090


What is the workflow of a servlet?

1181


Is servlet thread safe?

991


What is servlet and its advantages?

1050


What is ServletContext object?

1102


What is servlet in web technology?

1048


Why is a constructor needed in a servlet even if we use the init method?

1138


What are the life-cycle methods for a servlet?

997


What methods do you use in servlet - applet communication?

1042


How many objects of a servlet is created?

1276


List out difference between a JavaBean from a Servlet?

1035