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

What is java servlet session?

953


What is servlet looping or chaining?

1104


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1240


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1083


What is servlet in web technology?

1029


What do you mean by web applications?

1182


What is a servlet?

1120


How can the session in servlet be destroyed?

1136


What is a servlet context?

1140


What is the GenericServlet class?

1209


How do you configure a centralized error handler in servlets?

1090


what is multiple server?

2290


How forward () method is different from send redirect () method?

949


How can we achieve transport layer security for our web application?

1015


Which method of the httpservletrequest object is used?

1069