why are extending GenericServlet and why are extending
HttpServlet explain?

Answer Posted / dinesh goud

why bcoz,this GenricServlet and HttpServlet are implementing the Servlet interface..............

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we get PrintWriter and ServletOutputStream both in a servlet?

910


Can you send an authentication error from a servlet?

748


What is servlet and how it works?

696


Differentiate between the get and post method

815


Which HTTP method is non-idempotent?

825


How do you define a servlet?

739


Which exception is thrown if the servlet is not initialized properly?

799


What is cookie? Why is cookie used?

813


What is the process for chaining servlet?

801


What mechanisms are used by a Servlet Container to maintain session information?

902


How can the session in servlet can be destroyed?

913


What does the term localization refer to?

801


How to make sure a servlet is loaded at the application startup?

775


What is servlet attributes and their scope?

795


Why servlet is used as controller ? Not JSP? I want complete explation?

903