Try calling getServletContext(). But I think you have to set
CrossContext to 'true' in the Context element of Server.xml
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Antony [
Howdy,
>I have a class which implements HttpSessionBindingListener
interface.
>The class is put in the session scope. I have to get the ServletContext
>from
>inside this class. How to get it ?. I don't know much about servlets
and
>Java.
You might want to get a book or go through some tutori