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 the difference between Difference between doGet() and doPost()?

1365


Which method is called when reference variable is passed in system.net?

2457


What's the difference between servlets and applets?

1100


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

1099


Which protocol will be used by browser and servlet to communicate

1108


What is the major difference between servlet and applet?

1060


What is difference between jsp and servlet?

1212


Is servlet thread safe?

1043


What's the advantages using servlets than using cgi?

1047


What methods do you use in servlet - applet communication?

1098


What are different ways for servlet authentication?

1170


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

1306


How can we refresh automatically when new data has entered the database?

1167


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1149


Explain web application directory arrangement?

1144