Package javax.servlet.annotation
Annotation Type 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
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
description
Description of the initialization parameter
-
-
-
Element Detail
-
name
String name
Name of the initialization parameter- Returns:
- name of the initialization parameter
-
-
-
value
String value
Value of the initialization parameter- Returns:
- value of the initialization parameter
-
-
-
description
String description
Description of the initialization parameter- Returns:
- description of the initialization parameter
- Default:
- ""
-
-