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

How can the referrer and the target urls be used in servlet?

0 Answers  


What is servlet? Explain

0 Answers  


what is EJB and Java servlet

2 Answers  


which method in doGet or doPost is use to send binary date to server

2 Answers   HCL,


List the Different types of servlet?

0 Answers  






Which method of the httpservletrequest object is used?

0 Answers  


What happens, if server sends a cookie to a browser that doesn't supports cookies?

2 Answers  


Hi Friends, Can we make any method thread safe withour synchronized keyword?

2 Answers  


Define the lifecycle for executing a jsp page.

0 Answers  


program for RequestDispatcher in servlets?

3 Answers   Wipro,


Can you send the mail from a servlet ,if yes tell how?

2 Answers  


Explain the difference between GET and POST methods?

6 Answers  


Categories