Menu

#8 Can't use sessions in servlet container

open
nobody
None
5
2002-05-15
2002-05-15
Anonymous
No

I'm using Tomcat 4.0.3 and trying out the
SessionInvocationProcessor through the servlet interface.

When I make a request, the callerIp in getSession() is
null, and getSession() dies with NPE.

It looks like the preProcess method in the SIP does not
get called (for whatever reason) when using a servlet
interface. I'm not sure why this is, but I'll see if I
can implement a fix.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.