@RequestMapping(value ="/user_cart/remove/", method = {RequestMethod.GET,RequestMethod.DELETE})
public void removeData(Long id) {
userReqDetailService.removeByID(id);
}
When i try to use like this if always return to another url (http://localhost:8082/user_cart/remove/?id=163) and error massage to spring ( template: "class path resource [templates/user_cart/remove.html]") )
I just want to delete data by id and don't want to return to another page url