| @RequestParam Important to mention, but pretty obvious, is that @RequestParam is intended to work when using HTTP GET method only because only with GET you can send a query string with parameters, and @RequestParam you can bind parameters in the query string to your controller handler parameters. |
| @Controller & @RequestMapping } With @Controller annotation you'll mark a Java Class as a Class that holds several HTTP handlers, in other words, HTTP access points to your application. The @RequestMapping annotation is the one that you'll use to mark HTTP handlers (HTTP access points to your application) within your @Controller Class Parameters | Annotation | Explanation | @Controller | With @Controller annotation you mark a Java Class as a Class that holds HTTP handlers, in other words, HTTP access points to your application. | @RequestMapping | The @RequestMapping annotation is the one that you'll use to mark HTTP handlers (HTTP access points to your application) within your @Controller Class | @RequestParam | Use the @RequestParam annotation to bind request parameters to a method parameter in your controller. |
|