Originally posted by Maurizio Nagni: I have a JSF application. In the faces-config I have defined <managed-bean>
then I created a class (implementing the proper methods)
public class AppContextListener implements ServletContextListener, ServletContextAttributeListener
and I declared it in the web.xml
The question is: Why I cannot see the appHandler class added to the Application scope? in the ServletContextAttributeListener.attributeAdded method I have implemented simple code like
System.out.println("attributeAdded - " + arg0.getName());
but no messages about the appHandler appear. Hints?