• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet init parameters being read  RSS feed

 
Maan Suraj
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is w.r.t HFSJ pg 152....

It says "when container makes a servlet , itreades the DD....."

I would like to know when is the DD read by the container, is it when the container(like tomcat) is started or when the request for a particular servlet comes?
 
Garlapati Ravi
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when container starts

for your confirmation write down some small snippet with junk web.xml and check it out by starting the server.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!