Class StrutsListener

  extended by
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.

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

Field Detail


private PrepareOperations prepare
Constructor Detail


public StrutsListener()
Method Detail


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


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

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