java博客记录

导航

2022年11月28日

@RequestParam和@PathVariable的区别

摘要: 使用@RequestParam时,URL是这样的:http://host:port/path?参数名=参数值 使用@PathVariable时,URL是这样的:http://host:port/path/参数值 阅读全文

posted @ 2022-11-28 16:22 java博客记录 阅读(24) 评论(0) 推荐(0)