• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Qn on HttpSessionBindingLister..

 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am preparing for SCWCD and reading HFSJ and Marcus Green Notes.

At HF, They said that no need to register the class which implements
HttpSessionBindingListener. Where as at Marcus Green Notes , he said that
We should register . (Page 74).

Which one I need to take ?

Please help me in this regard .

Thanks
Praveen.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer to this FAQ.
 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That means HttpSessionBindingListener and HttpSessionActivationListener are not need to register in web.xml .


Then that means there is error at HFSJ...

Thanks for sending reply


Praveen Kumar
Preparing for SCWCD.
 
Kunal Gandhi
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for solving confusion. As I have completed reading of this matter just before 2 days from HFSJ.

From above as I understood that HttpSessionActiveationListener and HttpSessionBindingListener need not to be registered in DD(web.xml) but if i registered these listener in DD than it will gives errors or what happens?
 
Praveen Kumar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kunal,

I hope container will not kick off any errors if we declared those listeners but i am not sure...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic