This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Need help with Listener" Watch "Need help with Listener" New topic
Author

Need help with Listener

Sharika Raj
Greenhorn

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

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
 
GeeCON Prague 2014
 
subject: Need help with Listener