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
What are different methods of session management in servlets?
What is difference between cookies and httpsession?
How servlets are deployed in java?
Which is better jsp or servlet?
Name the different ways of session tracking.
What are the kinds of http requests?
What do you mean by web applications? Explain web application directory arrangement?
What are the benefits of using servlet over cgi?
How is an application exception handling is done using a servlet?
How can we implement a jsp page?
What are the new features added to servlet 2.5?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is the difference between Server and Container?
What are the servlet events?
Can we refresh servlet in client and server side automatically?