Changed the class name

This commit is contained in:
dineshmadhwal 2016-12-06 02:19:23 +08:00
parent e21efe8c08
commit caef50355d
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class AnnotationMethodHandlerAdapterExampleController {
public class AnnotationMethodHandlerAdapterExample {
@RequestMapping("/annotedName")
public ModelAndView getEmployeeName() {
ModelAndView model = new ModelAndView("Greeting");
model.addObject("message", "Dinesh");
return model;
}
}
}