转载说明出处:http://blog.csdn.net/nndtdx/article/details/6870391 原文地址 http://docs.jboss.org/resteasy/docs/2.2.1.GA/userguide/html/index.html 只是分享,如有侵权,麻烦联系我删除,谢谢. @PathParam 的声明允许你在URI路径中去映射你的方法将使用的参数. (很简单,当你发出get请求 /book/152-963参数152-963就在isbn中存储着,然后交给变量…