Delete AnnotationMethodHandlerAdapterExampleController.java

This commit is contained in:
dineshmadhwal 2016-11-29 02:32:03 +08:00 committed by GitHub
parent 37de74f1c9
commit 408af40b48
1 changed files with 0 additions and 17 deletions

View File

@ -1,17 +0,0 @@
package com.baeldung.spring.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class AnnotationMethodHandlerAdapterExampleController {
@RequestMapping("/annotedName")
public ModelAndView getEmployeeName() {
ModelAndView model = new ModelAndView("Greeting");
model.addObject("message", "Dinesh");
return model;
}
}