@RequestParam,@PathVariable等注解区别
一、@RequestParam和@PathVariable的区别1、@RequestParam是从uri中request后面的参数串来取得参数的2、@PathVariable是从uri模板中取得参数的例子:uri:http://localhost:8080/springmvc/hello?param1=10&param2=20@RequestParam抓取的是后面的pa...