Spring @RequestMapping "Not Contains" Regex – SEO
I have this RequestMapping: @RequestMapping(value = "/route/to-{destination}-from-{departure}.html", method = {RequestMethod.GET, RequestMethod.HEAD}) And I would like to add that RequestMapping: @RequestMapping(value = "/route/to-{destination}.html", method = {RequestMethod.GET, RequestMethod.HEAD}) So it can serve all the "without departure" routes. That, however, creates a conflict…