Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about ServletContext and ServletConfig

 
vara prasad
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is ServletContext and what is ServletConfig exatly?
and what is the actual differances ?
and what is the uses of both ServletContext and ServletConfig?
 
James Carman
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ServletConfig object exposes information specific to your servlet (like initialization parameters). The ServletContext basically represents your webapp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic