Anotaciones Spring MVC – Controller @Controller Annotation to indicate that the class is a controller class. @RestController A convenience annotation that is itself annotated with @Controller and @ResponseBody. Used in controllers that will behave as RESTful resources. @RequestMapping Annotation to be used on methods in @RestController classes. You can provide an URI to be served as RESTful service. @ModelAttribute Annotation used to bind values […]
You are here: Home / Archives for Spring