This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Getting started with Java programming language and have Ashish Sarin & J Sharma on-line!
See this thread for details.
Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet context and config  RSS feed

 
Deejava kum
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody tell me some real-time scenarios for Servlet Context and Config???
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65765
130
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm pretty sure that you don't mean "real-time".

The servlet context is also known as the application context and it is the highest level scope.

The servlet config gives you access to configuration parameters.

The javadoc for these classes can give you more information.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!