SpringBoot上传文件出现的问题[持续更新]
SpringBoot上传文件出现的问题[持续更新]
1,controlle层注解还是要使用@Controller,自测 如果使用@RestController,2中return 页面失效
2,返回templates文件下的页面,renturn "index.html/jsp/..." ,自测不要使用retuen "index" 就完了,带上后缀
浏览器直接访问:localhos...
原创
2019-10-24 15:58:27 ·
292 阅读 ·
0 评论