Hi, I did the following: 1st, verifies that the Class "MyOwnEventListener" implement HttpSessionAttributeListener and override methods : attributeRemoved(HttpSessionBindingEvent se) { /*print log*/ } and attributeReplaced(HttpSessionBindingEvent se) {/*print log*/}
2d, in the GreetingServlet:: write line: request.getSession().setAttribute("nameOfAttribute", object); 3t, in the ResponseServlet write line: request.getSession().removeAttribute("nameOfAttribute"); 2009/3/9 SureshReddy <sureshreddy...@gmail.com> > HI I have a problem in executing Myhello2 project because > attributeAdded(HttpSessionBindingEvent se) > and > attributeRemoved(HttpSessionBindingEvent se) are never invoked > plz help me > > thanks in advance > > > > -- $MayerHorna --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---