SpringMVC restful风格下载文件,文件后缀被截掉

原文:https://blog.csdn.net/wisdomhealth/article/details/78400421

@RequestMapping("/file/{filename}")调整为:@RequestMapping("/file/{filename:.+}")

 

posted @ 2019-09-08 18:12  liDB  阅读(746)  评论(0编辑  收藏  举报