• Post Reply Bookmark Topic Watch Topic
  • New Topic

About instantiating a servlet  RSS feed

 
Jack Lau
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

In SCWCD Exam Study Kit, it mentions that when we start up a servlet container, it will looks for web.xml and call Class.forName(className).newInstance() for each servlet. But when I do this, the servlet constructor does not be called.

Is the instantiation of servlet a part of lazy loading ?

Thanks in advance!
Jack
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!