Spring mvc路径映射问题

http://localhost:8080/TestServlet/testing/[email protected]
@RequestMapping(value = "/{email}", method = RequestMethod.GET)

@RequestMapping(value = "/{email:.*}", method = RequestMethod.GET)//正确

你可能感兴趣的:(spring mvc)