Multiple @RequestMapping for a method in controller class in Spring MVC

Viewed 22585

I have a method in controller class in Spring MVC.

@RequestMapping("/home")
    public void contactHomeDispatcher(){
    ...
    }

Is it possible to map another url for this method say "/contact". My question is whether it is possible to have multiple request mappings for a single method in a controller.

2 Answers
Related