message was cutoff which object are you attempting to recover? Servlet? SessionListener? Session? SessionAttribute?
also you will not set any object in Session thru getAttribute as this is an accessor method and not a mutator Martin -- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents ----- Original Message ----- From: "Juanjo Cuadrado" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Wednesday, October 11, 2006 8:09 AM Subject: Problem with HttpSessionListener > Hi, > > I'm trying to create a listener in my application. I have created a > listener class that implements HttpSessionLister and I have put the element > <listener>.... in my web.xml. > > My listener class only sets a object in the session > (getSession().getAttribute("k", "kk")), but when I try to recover this > object from a class (a servlet), not exist in session. > > Any idea? > > P.D. > I'm using NetBeans 5.0 and its envebed Tomcat 5.5.9 >