The moose likes Servlets and the fly likes doubt on servlet instantiation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "doubt on servlet instantiation" Watch "doubt on servlet instantiation" New topic

doubt on servlet instantiation

suyambu ganesh

Joined: Oct 04, 2006
Posts: 4
i have a doubt on servlet instantiation,how the servlet is invoked by the container, whether by calling its constructor. if so why the initialization
code goes to init() method rather than its constructor.advance thanks for your answers.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Please check the Servlets FAQ before asking questions that have already been answered.
[ December 04, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: doubt on servlet instantiation
It's not a secret anymore!