Annotation Type WebListener

public @interface WebListener
This annotation is used to declare a WebListener. Any class annotated with WebListener must implement one or more of the ServletContextListener, ServletContextAttributeListener, ServletRequestListener, ServletRequestAttributeListener, HttpSessionListener, or HttpSessionAttributeListener, or HttpSessionIdListener interfaces.
Servlet 3.0
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String value
    Description of the listener
  • Element Details

    • value

      String value
      Description of the listener
      description of the listener