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
What is the major difference between servlet and applet?
What do you understand by mime type?
Why do we use sendredirect() method?
What is servlet mapping?
Define declaration.
What is Client-Server Computing?
What is the servletconfig object?
What are the life cycle methods of the servlet?
What is the difference between Server and Container?
Why do you use session tracking in httpservlet?
List out the difference between ServletConfig and ServletContext?
How can we invoke another servlet in a different application?
What is servlet interface?
what is multiple server?
What do you mean by web applications? Explain web application directory arrangement?