Servlet
Why do we need constructor in servlet if we use the init ()?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Selva GanapathyRank #560 · 4.3K reputationPosted Feb 23, 2014, 7:29 PM EST
As like as Old Java Object that need an init() method but actually no need to call if you actually no need to call an object through constuctor.
Regards,
Selva Ganapathy K