@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface WebInitParam
Servlet
or Filter
, within a
WebFilter
or
WebServlet
annotation.@WebServlet(name="TestServlet", urlPatterns={"/test"},initParams={@WebInitParam(name="test", value="true")})
public class TestServlet extends HttpServlet { ...
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.