0

I have a SpringMVC controller with mapping like this

@RequestMapping("/home")
public String showHomePage(Map<String, Object> model) {
    return "home";
}

So I can find the home page at /myproject/home.

But I also will be able to access this page by typing /myproject/home.any_set_of_symbols. How can I make the page accessible by only /myproject/home? The version of Spring Framework is 4.0.0

user3601262
  • 621
  • 1
  • 7
  • 22

0 Answers0