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
Explain servlet.
What is the difference between encodeRedirectUrl and encodeURL?
How forward () method is different from send redirect () method?
How do you configure a centralized error handler in servlets?
Can you call a jsp from the servlet?
What is string tokenizer?
What is context in servlet?
What is servlet initializer?
Write a simple servlet program to print the contents of html.
What are the phases of a servlet life cycle?
How servlet is created?
What is servlet and its life cycle?
Difference between java beans & servlets?
What do you mean by chaining in servlet?
Whether we can get deadlock situation in servlets?