• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context param

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
If we have parameters in contex param element (web.xml), when will Web Container add those into servlet context? In deployment time or when those is first used by servlets?
thanks
daniel
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3820
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What difference does it make? All you care is, whether the initialization parameters are available to you when you want to use them.
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMHO, context must be initialized while loading the server.
Config might be initialized when its servlet is loaded in the memory.
CMIW
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic