2.8.6 @WebInitParam

Organization of this subsection
(1) Description
(2) Attribute

(1) Description

This annotation specifies the initial parameters of Servlet or filter.

(2) Attribute

The following table lists the @WebInitParam attributes:

Attribute nameFunctionality
descriptionThis attribute specifies the parameter description.
nameThis attribute specifies the parameter name.
valueThis attribute specifies the parameter value.

Details of each attributes are as follows:

(a) description attributes

Type

String

Description
This attribute specifies the parameter description.
Default value
""
(b) name attribute
Type
String
Description
This attribute specifies the parameter name.
Default value
""
(c) value attribute
Type
String
Description
This attribute specifies the parameter value.
Default value
None