Google News
logo
Java Springs - Interview Questions
How Does the @RequestMapping Annotation Work?
The @RequestMapping annotation is used to map web requests to Spring Controller methods. In addition to simple use cases, we can use it for mapping of HTTP headers, binding parts of the URI with @PathVariable, and working with URI parameters and the @RequestParam annotation.
Advertisement