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 the type of protocols used in httpservlet?
How do you find out what client machine is making a request to your servlet
What is the difference between the include() and forward() methods?
How do we go with database connection and log4j integration in servlet?
How do we translate jsp?
How can we perform any action at the time of deploying the project?
Difference between doget and dopost?
What exactly is a servlet?
How do you deal property files in servlet?
What is httpservlet and how it is different from genericservlet?
How a servlet is unloaded?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
What is meant by cookies?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is the difference between servlet and jsp?