In the controller , i have this code, somehow, i want to get the request Mapping value \"search\". How is it possible ?
@RequestMapping(\"/search/\") publ
@RequestMapping("foo/bar/blub") public Map searchWithSearchTerm(@RequestParam("name") String name, HttpServletRequest request) { // delivers the path without context root // mapping = "/foo/bar/blub" String mapping = request.getPathInfo(); // more code here }