Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## javax.servlet.annotation
Annotation Type WebListener

    @Target(value=TYPE)
    @Retention(value=RUNTIME)
    @Documented
    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` interfaces.

Since:
  Servlet 3.0

Optional Element Summary
`java.lang.String` | `value` Description of the listener

### value

    public abstract java.lang.String value

  Description of the listener

  Default:
    ""

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.