a/lang/annotation/Documented.html" title="class or interface in java.lang.annotation" class="external-link">@Documented</a>
</span><span class="modifiers">public @interface </span><span class="element-name type-name-label">WebServlet</span></div>
<div class="block">Annotation used to declare a servlet.

 <p>
 This annotation is processed by the container at deployment time, and the corresponding servlet made available at the
 specified URL patterns.</div>
<dl class="notes">
<dt>Since:</dt>
<dd>Servlet 3.0</