SpringMVC restful style download a file, the file suffix amputated

Original: https://blog.csdn.net/wisdomhealth/article/details/78400421

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

 

Guess you like

Origin www.cnblogs.com/yarightok/p/11487684.html