0 votes
in Servlet by
What are the annotations used in Servlet 3?

1 Answer

0 votes
by
There are mainly 3 annotations used for the servlet.

@WebServlet : for servlet class.

@WebListener : for listener class.

@WebFilter : for filter class.
...