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
|
||||
AbstractController {
|
||||
@Override
|
||||
protected ModelAndView handleRequestInternal(HttpServletRequest arg0,
|
||||
HttpServletResponse arg1) throws Exception {
|
||||
protected ModelAndView handleRequestInternal(HttpServletRequest request,
|
||||
HttpServletResponse response) throws Exception {
|
||||
ModelAndView model = new ModelAndView("Greeting");
|
||||
model.addObject("message", "Dinesh Madhwal");
|
||||
return model;
|
||||
|
|
Loading…
Reference in New Issue