• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with Listener

 
Sharika Raj
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to setup a requestlistener which will print messages when request is initialized and destroyed. But my println statements from this listner are not getting printed.Not sure if its activated or not.How can I find out that?Println statements in servlet, I can see on console.Still i cudn't find any file which contains console contents.Pls help...
web.xml contains <listener> element correctly.

Thanks In Advance
Sharika
 
Sharika Raj
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ignore my earlier message
I resolved the problem
I was using Intellij IDEA. When I start typing <listener-class>
It automatically shows up that element and I accepted that. Actually they added listner-class instead od listener-class. Bug In IDEA???
Anyway all my listeners are getting invoked now
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic