Annotation Interface WebInitParam


@Target(TYPE) @Retention(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
    Description
    Name of the initialization parameter
    Value of the initialization parameter
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Description of the initialization parameter
  • Element Details

    • name

      String name
      Name of the initialization parameter
    • value

      String value
      Value of the initialization parameter
    • description

      String description
      Description of the initialization parameter
      Default:
      ""