我在REST webservice工作.我正在浏览一些博客,在那里我看到了URL到方法的映射,他们使用了不同的注释.使用了一些地方@RequestMapping和一些地方使用@Path.两者有何不同?
@RequestMapping
@Path
rest web-services path
path ×1
rest ×1
web-services ×1