Formatted the code
This commit is contained in:
parent
c884ab0f30
commit
991b9629a0
@ -9,9 +9,7 @@ public class AnnotationMethodHandlerAdapterExampleController {
|
|||||||
@RequestMapping("/annotedName")
|
@RequestMapping("/annotedName")
|
||||||
public ModelAndView getEmployeeName() {
|
public ModelAndView getEmployeeName() {
|
||||||
ModelAndView model = new ModelAndView("Greeting");
|
ModelAndView model = new ModelAndView("Greeting");
|
||||||
|
|
||||||
model.addObject("message", "Dinesh");
|
model.addObject("message", "Dinesh");
|
||||||
|
|
||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user