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

Marcus green Note: Doubt

 
Marut pandey
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Writer has explained example of HttpSessionBindingListener on page 73 and on page number 74 he has said

To use this class it must be configured in the deployment descriptor
under the web-app tag as
<listener>
<listener-class>
com.examulator.User
</listener-class>
</listener>

According to my knowledge "This is absolutely wrong".
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Listeners implementing HttpSessionBindingListener do not need to be declared in web.xml.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic