S

Satya • 3.38K Points
Extraordinary

Q. Which annotation is used instead of web.xml mapping?

  • (A) @Servlet
  • (B) @WebServlet
  • (C) @ServletMapping
  • (D) @Mapping

Explanation by: Satya
@WebServlet annotation maps a servlet without using web.xml.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.