Annotation Interface WebServlet


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface WebServlet
Annotation used to declare a servlet.

This annotation is processed by the container at deployment time, and the corresponding servlet made available at the specified URL patterns.

Since:
Servlet 3.0
See Also: