What is Generic Servlet and how it is different from Http
Servlet?
Answer Posted / devarathnam
Hi...The main difference between the Generic and
HttpServlet is :Generic Servlet is Protocol Independent
Where as HttpServlet is protocol dependent ,supports only
HTTP Protocols.And it is a sub class of
GenericServlet,HttpServlet is a Abstract class.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
What is the structure of the http response
Elucidate servlet attributes and its scope?
Which HTTP method is non-idempotent?
When should you prefer to use doget() over dopost()?
What is servlet looping or chaining?
Describe some assignments that are executed by servlet container?
Is servlet synchronized?
What do you mean by filter in servlet?
What are different ways for authentication of servlet?
What is Request Dispatcher?
What are the different methods involved in generic servlet?
How do we call one servlet from another servlet?
List the Different types of servlet?
Difference between httpservlet and generic servlets?
How native code can be used in a servlet?