Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is HttpSessionListener not a part of Servlet2.3

 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not know whether one should know abt HttpSessionListener as now it is not a interface in Servlet2.3 as per Sun site API documentation
http://java.sun.com/products/servlet/2.3/javadoc/index.html
So anyone .. what to do ??
should one know details of HttpSessionListener ??
Or questions are not asked abt it ?
TIA
 
Brian Glodde
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ravish,
My opinion is you should know all of the listeners and their methods, when their methods will be called, what events they accept, and if they're configured in the deployment descriptor.
The HttpSessionListener is very similar to the context listener, so it shouldn't be difficult to remember.

Hope that helps!
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THanks a lot Brian
but.. its not in the API .. so it means you can use it in real programming for servlets 2.3
TIA
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry guys for misinformation
it is a part of servlet 2.3
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic