Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

HttpSessionListener

 
Ranch Hand
Posts: 85
  • 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 ]
 
Marshal
Posts: 67413
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
    Bookmark Topic Watch Topic
  • New Topic