Need a reference to Session within objects activated from servlet
Posted on 2004-11-28
I have a project I'm working on where I need access to user name and some more parameters that are present in the session object - but where I need it I don't have access to the request object (those are sub classes that the servlet use)
I hope I could rewrite all the code but I cant - I need an easy way to get access to the session object without passing it from the servlet (I'm working with tomcat)
Any help / idea / suggestion will be appreciated.