Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query on Listeners

 
Rahul Jadaun
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

One confusion. Which are the listeners that need not be configured in the DD. Is it only the HttpSessionBindingListener, as given in HFSJ, or is it both HttpSessionBindingListener and HttpSessionActivationListener, as given in one of the jDiscuss questions?

Regards,
Rahul.
 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No more confusions buddy.

Its HttpSessionBindingListener and HttpSessionActivationListener
 
Chethan Verma
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rahul,

Both HttpSessionActivationListener and HttpSessionBindingListener are not needed to configure in DD.

Go though errata given for HFSJ.

[254] Standout titled "You do NOT configure session binding listeners in the DD!;
Standout reads:

"You do NOT configure session binding listeners in the DD! ... But this is NOT true
for the other session related listeners on the previous page. HttpSessionListener,
HttpSessionAttributeListener, and HttpSessionActivationListener must be registered
in the DD, since they're related to the session itself, rather than an individual
attribute placed in the session."

Should read:

""You do NOT configure session binding listeners OR SESSION ACTIVATION LISTENERS in
the DD! ... But this is NOT true for the other session related listeners on the
previous page. HttpSessionListener and HttpSessionAttributeListener must be
registered in the DD, since they're related to the session itself, rather than an
individual attribute placed in the session."
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic