Yes, i was using HttpServletRequest.getSession() function call inside getSession( req )
function, It's working fine with Servlet runner but not with tomcat as i said ...

William Kaufman wrote:

 
Is there any difference in :  Jsdk2.0 HttpSession Object & the above one ???? 
org.apache.tomcat.facade.HttpSessionFacade IS an HttpSession.
So whenever we try to access the current session object,   it seems that we get NULL object in Tomcat.
I don't know what getSession(HttpServletRequest) is--it doesn't seem to be in the JSDK 2.0.

You should call HttpServletRequest.getSession()  -- if you still have trouble, the problem is somewhere else.  You should check where that stack trace is coming from.

                                                            -- Bill K.

Reply via email to