Class StrutsListener

  extended by
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class StrutsListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

Servlet listener for Struts. The preferred way to use Struts is as a filter via the StrutsPrepareAndExecuteFilter and its variants. This might be useful if Struts config information is needed from other servlet listeners, like Sitemesh or OSGi

Constructor Summary
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
 void contextInitialized(javax.servlet.ServletContextEvent sce)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public StrutsListener()
Method Detail


public void contextInitialized(javax.servlet.ServletContextEvent sce)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener


public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.