Package javax.servlet.annotation
Annotation Type WebInitParam
- 
 @Target(TYPE) @Retention(RUNTIME) @Documented public @interface WebInitParamThe annotation used to declare an initialization parameter on aServletorFilter, within aWebFilterorWebServletannotation.
 
 E.g.@WebServlet(name="TestServlet", urlPatterns={"/test"},initParams={@WebInitParam(name="test", value="true")}) public class TestServlet extends HttpServlet { ...- Since:
- Servlet 3.0
 
- 
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description java.lang.Stringdescription
 
-