Save This Page
Home » struts-2.1.8.1-src » org.apache » struts2 » dispatcher » ng » listener » [javadoc | source]
org.apache.struts2.dispatcher.ng.listener
public class: StrutsListener [javadoc | source]
java.lang.Object
   org.apache.struts2.dispatcher.ng.listener.StrutsListener

All Implemented Interfaces:
    ServletContextListener

Servlet listener for Struts. The preferred way to use Struts is as a filter via the org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter and its variants. This servlet dispatcher is only for those that really know what they are doing as it may not support every feature of Struts, particularly static resource serving.
Method from org.apache.struts2.dispatcher.ng.listener.StrutsListener Summary:
contextDestroyed,   contextInitialized
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.dispatcher.ng.listener.StrutsListener Detail:
 public  void contextDestroyed(ServletContextEvent sce) 
 public  void contextInitialized(ServletContextEvent sce)