RequestMapping leads to 404 Error
问题 I'm trying to call a delete method from my jsp. It should map to the delete method in my controller. That's my code: In JSP: <td><a href="deleteEntry/${product.name}">Delete Entry</a></td> In Controller: @Controller @RequestMapping(value="/productbook") public class ProductController { @RequestMapping(value = "/deleteEntry/{name}") public ModelAndView deleteEntry(@PathVariable String name){ System.out.println("I'm HERE"); . ... some code } I always get a 404 error when clicking my delete link