Afroz,
It dont works. Read it:
"
public abstract interface ServletContext
Defines a set of methods that a
servlet uses to communicate with its servlet container, for example, to get the MIME type of a file, dispatch requests, or write to a log file.
There is one context per "web application" per
Java Virtual Machine. (A "web application" is a collection of servlets and content installed under a specific subset of the server's URL namespace such as /catalog and possibly installed via a .war file.)
...
"
Then, It impossible to passe and access attibutes of the a web application to other in the same web server ??