why are extending GenericServlet and why are extending
HttpServlet explain?
Answer Posted / srikanth reddy
interface servlet
{
7 abstract methods
}
generic servlet extends servlet{
it override 6 above abstract methods except service method
}
httpservlet extends generic servlet
{
it hsa 7 methods and 2 service methods in this servlet
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
How native code can be used in a servlet?
What is a web container and what is its responsibility?
What is meant by a web application
How can you push data from an Applet to a Servlet?
What methodology can be followed to store more number of objects in a remote server?
Which event is fired at the time of session creation and destroy?
What is the purpose of requestdispatcher interface?
What is servlet lazy loading?
Is tomcat a servlet container?
How do you get the ip address of the client in servlet?
List out difference between a JavaBean from a Servlet?
What is the servletconfig object?
Why servlet is used as controller ? Not JSP? I want complete explation?
Difference between java beans & servlets?
What is the difference between context parameter and context attribute?