Rename args
This commit is contained in:
parent
15ed123945
commit
3b53e82b8b
|
@ -9,8 +9,8 @@ import org.springframework.web.servlet.mvc.AbstractController;
|
||||||
public class SimpleControllerHandlerAdapterExample extends
|
public class SimpleControllerHandlerAdapterExample extends
|
||||||
AbstractController {
|
AbstractController {
|
||||||
@Override
|
@Override
|
||||||
protected ModelAndView handleRequestInternal(HttpServletRequest arg0,
|
protected ModelAndView handleRequestInternal(HttpServletRequest request,
|
||||||
HttpServletResponse arg1) throws Exception {
|
HttpServletResponse response) throws Exception {
|
||||||
ModelAndView model = new ModelAndView("Greeting");
|
ModelAndView model = new ModelAndView("Greeting");
|
||||||
model.addObject("message", "Dinesh Madhwal");
|
model.addObject("message", "Dinesh Madhwal");
|
||||||
return model;
|
return model;
|
||||||
|
|
Loading…
Reference in New Issue