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
Describe the phases of servlet lifecycle?
What are the drawbacks of cgi?
How do you create a cookie using servlet?
What is url encoding and url decoding
What methods do you use in servlet - applet communication?
Define declaration.
What is cookie in servlet?
What is the difference between Difference between doGet() and doPost()?
What is http servlet?
Whats the advantages using servlets over using CGI?
What is the difference between jsp and servlet life cycle?
Can we use the constructor, instead of init(), to initialize servlet?
What are the phases of a servlet life cycle?
What is lazy loading and what is Generic Servlet Class?
What is the use of java servlet api?