Formatted the code
This commit is contained in:
parent
991b9629a0
commit
7868a1ec84
@ -9,9 +9,7 @@ public class RequestMappingHandlerAdapterExampleController {
|
||||
@RequestMapping("/requestName")
|
||||
public ModelAndView getEmployeeName() {
|
||||
ModelAndView model = new ModelAndView("Greeting");
|
||||
|
||||
model.addObject("message", "Madhwal");
|
||||
|
||||
return model;
|
||||
}
|
||||
}
|
||||
|
@ -13,9 +13,7 @@ AbstractController {
|
||||
protected ModelAndView handleRequestInternal(HttpServletRequest arg0,
|
||||
HttpServletResponse arg1) throws Exception {
|
||||
ModelAndView model = new ModelAndView("Greeting");
|
||||
|
||||
model.addObject("message", "Dinesh Madhwal");
|
||||
|
||||
return model;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user