Why is a constructor needed in a servlet even if we use the init method?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Servlets Interview Questions

What is HTTP Session ?

6 Answers  


why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic.

5 Answers  


How to set a cookie that is persisted only for the duration fo the clients session?

1 Answers  


What method is used to create database connection in servlets?

2 Answers  


what are the way a client can be tracked?

3 Answers   ABC, IBM,


What are different types of Servlets?

12 Answers  


when the jsp page is translated to servlet?

5 Answers   HCL,


What are common tasks performed by Servlet Container?

0 Answers  


What is difference between cookies and httpsession?

0 Answers  


When a servlet accepts a call from a client, it receives two objects. What are they?

0 Answers  


Can we define constructor in Servlet class?

10 Answers   Accenture, Yugma,


How the typical servlet code look like ?

0 Answers  


Categories