javax.servlet.annotation

## Annotation Type WebInitParam

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

  This annotation is used on a Servlet or Filter implementation class to specify an initialization parameter.
  Since:
    Servlet 3.0

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `name` Name of the initialization parameter
    `String` | `value` Value of the initialization parameter

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `description` Description of the initialization parameter

- - ### Element Detail

    - #### name

          public abstract String name

      Name of the initialization parameter

    - #### value

          public abstract String value

      Value of the initialization parameter

    - #### description

          public abstract String description

      Description of the initialization parameter
      Default:
        ""

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.