org.apache.struts2.dispatcher.ng.listener
Class StrutsListener
java.lang.Object
org.apache.struts2.dispatcher.ng.listener.StrutsListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class StrutsListener
- extends Object
- implements ServletContextListener
Servlet listener for Struts. The preferred way to use Struts is as a filter via the
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prepare
private PrepareOperations prepare
StrutsListener
public StrutsListener()
contextInitialized
public void contextInitialized(ServletContextEvent sce)
- Specified by:
contextInitialized
in interface ServletContextListener
contextDestroyed
public void contextDestroyed(ServletContextEvent sce)
- Specified by:
contextDestroyed
in interface ServletContextListener
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.