Skip to Content
Mar 27, 2006 at 02:58 PM

Problem adding HttpSessionListener



I'm trying to implement HttpSessionListener for user logout. When ever I click on the package and select Listener it adds properly into Listener Candidates tree but doesn't add any entry into web.xml.

I have tried right-clicking on the listener under candidates tree and selected the option 'Add to web.xml'; This time the entry is added into web.xml, but shows an error (shows a red mark in tree and doesn't allow me build the project) in web.xml.