405, HTTP Status 405 - JSPs only permit GET POST or HEAD.。
@RequestMapping(value="/emp/{id}",method=RequestMethod.DELETE)publicStringdelete(@PathVariable("id")Integerid){employeeDao.delete(id);return“success”;}就是这段咯,就是测试RESTful风格的URL时,在web.xml配置了HiddenHttpMet