javax.servlet.annotation
Annotation Type WebListener


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface WebListener

Dclares a listener implementing one or more of the ServletContextListener, ServletContextAttributeListener, ServletRequestListener, ServletRequestAttributeListener, HttpSessionListener, or HttpSessionAttributeListener interfaces.

Since:
Servlet 3.0

Optional Element Summary
 java.lang.String value
           
 

value

public abstract java.lang.String value
Default:
""