• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

listener registration in DD

 
Kalpana Mahareddy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In HFSJ session management chapter it is specified that HttpSessionActivationListener must be configured in the DD.

but according to other sources like Frederick's notes HttpSessionBindingListener and HttpSessionActivationListener must not be registered in the DD.

i m confused
can anyone please help me with this.

Thanks a lot.
 
Richard Rex
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kalpana,

HFSJ says in that only HttpSessionBindingListener is to be configured in the DD. But this note has been corrected and specified in the errata.

Both HttpSessionActivationListener and HttpSessionBindingListener must be configured in the DD.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both HttpSessionActivationListener and HttpSessionBindingListener must be configured in the DD.

Nope.
Both HttpSessionActivationListener and HttpSessionBindingListener must not be configured in the DD.
 
Gab Buda
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kalpana,

this is the errata
http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed

Gab
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic