Changed the class name
This commit is contained in:
parent
e21efe8c08
commit
caef50355d
@ -5,7 +5,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.servlet.ModelAndView;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
public class AnnotationMethodHandlerAdapterExampleController {
|
public class AnnotationMethodHandlerAdapterExample {
|
||||||
@RequestMapping("/annotedName")
|
@RequestMapping("/annotedName")
|
||||||
public ModelAndView getEmployeeName() {
|
public ModelAndView getEmployeeName() {
|
||||||
ModelAndView model = new ModelAndView("Greeting");
|
ModelAndView model = new ModelAndView("Greeting");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user