Spring MVC Missing URI template variable
问题 I have a Controller class with a function that saves a record to the Database. I am passing several parameters to the Controller function however i think i may be writing the @RequestMapping incorrectly. Under is the code Controller @RequestMapping(value="createRoadBlock.htm", method = RequestMethod.POST) public @ResponseBody Integer createRoadBlock(@RequestParam String purpose, @RequestParam String userName, @RequestParam int status, @RequestParam double latAdd, @RequestParam double longAdd,