Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpSessionAttributeListener, HttpSessionBindingListener

 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problems are concerned with the intefaces listed in the subject matter. Though I understand their functionlity and purpose. I'm not aware of the usage. I do not know hows to make listeners in action.
I hopw someone can throw light on the above issue and let me know how to use them.
Best Regards,
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never tried any examples but I have some "pointers" to source code if you want to try them.....
1. YatchWatcher.java
2. DailySpeciatRegistrar.java
3. DailySpecialWatcher.java etc....
from More Servlets and JSP's. Right now, I don't have my copy handy, but seems like these are some of the relavent source files that address these issues.
regds.
- madhav
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YatchWatcher implements HttpSessionAttributeListener.
DailySpecialWatcher implements HttpSessionAttributeListener.
and DailySpecialRegistrar implements ServletContextListener.
Just checked my hard copy......
regds.
- madhav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic