Package jakarta.servlet.annotation
Annotation Interface WebInitParam
The annotation used to declare an initialization parameter on a
E.g.
Servlet
or
Filter
, within a WebFilter
or
WebServlet
annotation.E.g.
@WebServlet(name="TestServlet", urlPatterns={"/test"},initParams={@WebInitParam(name="test", value="true")})
public class TestServlet extends HttpServlet { ...
- Since:
- Servlet 3.0
-
Required Element Summary
-
Optional Element Summary