Access Session Object from a Java Class

Hi,Is there any way to access the session object in a java class without having an object of the request?
[126 byte] By [Sambosega] at [2007-11-26 14:56:29]
# 1
> Hi,> Is there any way to access the session object in a> java > class without having an object of the request?Could you come clear with your question?
annie79a at 2007-7-8 8:45:05 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Well for Example If I have a JSP File that calls a Java class & that java class calls another java class, is there any way I could access the session object from the last java class without having to pass the request from the JSP file to every java class.

N.B.: the number of classes & methods are too huge to apply passing the request object in every class method.

Sambosega at 2007-7-8 8:45:05 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

> Well for Example If I have a JSP File that calls a

> Java class & that java class calls another java

> class, is there any way I could access the session

> object from the last java class without having to

> pass the request from the JSP file to every java

> class.

You should pass the specific attributes from the session.

annie79a at 2007-7-8 8:45:05 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...