This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Need help with Listener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Need help with Listener" Watch "Need help with Listener" New topic

Need help with Listener

Sharika Raj

Joined: Aug 31, 2004
Posts: 26
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 Raj

Joined: Aug 31, 2004
Posts: 26
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
I agree. Here's the link:
subject: Need help with Listener
It's not a secret anymore!