tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noone Anil Kumar <an...@india.hp.com>
Subject Re: Tomcat Sessions
Date Fri, 06 Apr 2001 20:13:02 GMT
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.
>

Mime
View raw message