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

Elucidate servlet attributes and its scope?

0 Answers  


What are the steps that are involved in using the httpservlet class?

0 Answers  


can we use more than one controller in web application

3 Answers   IBM,


Define context initialization parameters.

0 Answers  


If some new data has entered the database, explain how can a servlet refresh automatically?

0 Answers   BirlaSoft,






Can you create a deadlock condition on a servlet?

0 Answers  


Whether thread can be used in servlets?

0 Answers  


How native code can be used in a servlet?

0 Answers   IBM, TCS,


what is servlet life cycle?

3 Answers   Inforica,


can i override service method

3 Answers   Intelligroup,


init() method of servlet loaded by?

3 Answers  


Why servlet is mostly used?

0 Answers  


Categories