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

Query on Listerner

 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I happened to see in one of the mock-exams that listener element in web.xml affects the whole application. Is it true?
Thanks in advance.
With regards,
Padma priya N.G.
 
Srinivasan thoyyeti
Ranch Hand
Posts: 558
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats true,

we declare listeners directly under <web-app> </web-app> why because

listeners are managed by container and they are not specific to any particular servlet or JSP.
 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Srinivasan,
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic