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

Is classes folder is compulsory in web-inf/ even though u r deploying ur application with war file?

3 Answers   Bosch, Cognizant,


what do you understand by url rewriting?

0 Answers  


What are the supporting protocol by HttpServlet ?

0 Answers  


Explain jsessionid?

0 Answers  


What is MIME Type?

0 Answers  


How do you deal property files in servlet?

0 Answers  


Explain the difference between servletconfig and servletcontext in servlet?

0 Answers  


What is filter? Can filter be used as request or response?

1 Answers  


how to use servlets with j2ee ?

2 Answers   Tech Mahindra,


What are the two important api's in for servlets?

0 Answers  


What is servlet collaboration?

0 Answers  


Name the servers that can be used to develope and deploy Servlets?

1 Answers  


Categories