File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes ServletContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "ServletContext" Watch "ServletContext" New topic


Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
What is ServletContext?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
as an approximate quote from the documentation:
the ServletContext interface defines a set of methods that a servlet uses to comunicate with its servlet container..
Also -
There is one ServletContext per "Web Application"
You should download the servlet API from to get complete discussion of the servlet classes.

author of:
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please note that The Java Ranch has a naming policy, described here and "rm" is not a valid name. Please choose one which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
jQuery in Action, 3rd edition
subject: ServletContext
It's not a secret anymore!