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 are the different types of servlets?

0 Answers  


How is a servlet implemented in code?

0 Answers  


what is meant by Transaction Isolation Levels?

2 Answers   IBM,


Write a program to show the functionality of servlets.

0 Answers  


My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??

2 Answers  






What is the use of java servlet api?

0 Answers  


How do you communicate in between Applets and Servlets?

0 Answers  


Which protocol will be used by browser and servlet to communicate

0 Answers  


Why is httpservlet declared abstract?

0 Answers  


What are the types of ServletEngines?

1 Answers  


What is called a session?

0 Answers  


What is lazy loading and what is Generic Servlet Class?

0 Answers  


Categories