![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图片上传显示
文章平均质量分 78
艺哥来了
大家一起交流学习
展开
-
spring mvc 从本地文件中读取图片,并显示在页面中
//后台java代码@RequestMapping("/bmpShow") public void bmpShow(HttpServletRequest request,HttpServletResponse response,String path) throws IOException { String imagePath = Global.getUserfilesBaseD原创 2017-11-13 15:38:04 · 6450 阅读 · 1 评论 -
Spring mvc批量图片上传
@RequestMapping(value="referenceBmpSave",method = RequestMethod.POST) public String referenceBmpSave(@RequestParam(value="file",required=false) MultipartFile[] file,HttpServletRequest request,String原创 2017-11-13 15:43:09 · 1192 阅读 · 0 评论