Delete SimpleControllerHandlerAdapterExampleController.java

This commit is contained in:
dineshmadhwal 2016-11-29 02:32:17 +08:00 committed by GitHub
parent aabc39ccfa
commit beae894d98
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
package com.baeldung.spring.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;
public class SimpleControllerHandlerAdapterExampleController extends
AbstractController {
@Override
protected ModelAndView handleRequestInternal(HttpServletRequest arg0,
HttpServletResponse arg1) throws Exception {
ModelAndView model = new ModelAndView("Greeting");
model.addObject("message", "Dinesh Madhwal");
return model;
}
}