This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Diff between ServletContext and servletConfig

 
Raj Jindal
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between servletContext and servletConfig.
 
deepak kukreja
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ServletContext provides the window to access the environment around the Servlet,
Whereas ServletConfig is about the configuration of a particular Servlet as specified in the deployment descriptor.
 
MSanjeevMehra
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
servletconfig helps to handle servlet.
servletContext helps to handle web application.
link
[ September 24, 2003: Message edited by: MSanjeevMehra ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic