Explain the methods in Generic and HTTP Servlets?

Answers were Sorted based on User's Feedback



Explain the methods in Generic and HTTP Servlets?..

Answer / guest

Generic servlets has service() method to handle requests

HttpServlet has doGet(),doPost(),doHead() mehtods

Is This Answer Correct ?    6 Yes 0 No

Explain the methods in Generic and HTTP Servlets?..

Answer / chaitu

All the methods in Generic servlets are abstract methods.
Even though HTTP Servlet is an abstract there are no
abstract methods

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Servlets Interview Questions

what is the difference between ServletContext and ServletConfig

7 Answers  


Write a simple servlet program to print the contents of html.

0 Answers  


Explain servlet events?

0 Answers  


What is difference between server and servlet?

0 Answers  


How can we invoke another servlet in a different application?

0 Answers  


What is Client-Server Computing?

0 Answers   TCS,


java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null while working with struts it displayed pls very ungent

3 Answers   IBM,


Why is Servlet so popular?

0 Answers  


How long do servlets last?

1 Answers  


What is difference between PrintWriter and ServletOutputStream?

0 Answers  


how can you give alias to servlets?

1 Answers  


Which HTTP method is non-idempotent?

0 Answers  


Categories