I have the following REST- method:
@RequestMapping(value = "/search/accounts/{searchterm}", method = RequestMethod.GET, produces = "application/json")
public @ResponseBody Set<Contact> findAccounts(@PathVariable("searchterm")
final String searchTerm) throws BusinessException {
and it works fine until searchTerm includes a slash, e.g. 3/2015, then the url looks like this:
/search/accounts/3/2015
and the method can not be found. My question now would be if there is a possibility to solve this. In frontend I use Angular 1.4