Formatted the code
This commit is contained in:
parent
7868a1ec84
commit
3c8cf035ec
|
@ -9,7 +9,7 @@ public class RequestMappingHandlerAdapterExampleController {
|
||||||
@RequestMapping("/requestName")
|
@RequestMapping("/requestName")
|
||||||
public ModelAndView getEmployeeName() {
|
public ModelAndView getEmployeeName() {
|
||||||
ModelAndView model = new ModelAndView("Greeting");
|
ModelAndView model = new ModelAndView("Greeting");
|
||||||
model.addObject("message", "Madhwal");
|
model.addObject("message","Madhwal");
|
||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue