Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpSessionListener

 
Antonio Giovanni
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,...

I am copying and pasting from a previously discussed thread:



It may depend upon which servlet container and version you are using. Under the Servlet 2.3 specification, the definition of the sessionDestroyed method was:

quote:
--------------------------------------------------------------------------------
Notification that a session was invalidated.
--------------------------------------------------------------------------------

under Servlet 2.4:


quote:
--------------------------------------------------------------------------------
Notification that a session is about to be invalidated.
--------------------------------------------------------------------------------

So it is perfectly plausible that a 2.3 engine would blow away the session prior to calling sessionDestroyed, while a 2.4 engine will not.


My question:

I am presently using Websphere App server 5.0 with Servlet 2.3 specs, BUT it actually behaves like Servlet 2.4 specs,.. i have access to session data in sessionDestroyed method - its like - Notification that a session is about to be invalidated.

So, now my question is did websphere handle Servlet 2.3 specs in a different way ?? OR it is like some kind of a TYPO in Servlet 2.3 API documentation which they corrected in Servlet 2.4 API documentation.

Thanks
[ August 09, 2006: Message edited by: Antonio Giovanni ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64184
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a typo. And since this is Websphere-specific, I've moved this off to the Websphere forum.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic