Delete SimpleControllerHandlerAdapterExampleController.java

This commit is contained in:
dineshmadhwal 2016-12-06 02:16:19 +08:00 committed by GitHub
parent cf58289d6d
commit b4893e7550
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +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;
}
}