S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What does @RequestMapping do?

  • (A) Maps a URL to a service
  • (B) Maps a URL to a controller method
  • (C) Maps a class to a configuration
  • (D) Maps a request to a bean
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@RequestMapping is used to map web requests to specific controller methods.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.