![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
下载
10000guo
java研发工程师
展开
-
java后台Controller下载文件方法
/** * 导出 * @param request * @param response */ @RequestMapping(value="exportInfo") public void exportInfo(HttpServletRequest request,HttpServletResponse response ){...原创 2018-10-23 14:50:34 · 9198 阅读 · 1 评论 -
Java Controller层下载指定Excel模板
/** * 下载模板 * @param request * @param response */ @RequestMapping(value="template") public void template(HttpServletRequest request,HttpServletResponse response ...原创 2018-11-08 09:29:11 · 1034 阅读 · 3 评论 -
ftp服务器批量下载文件之retrieveFileStream (方式一)
1.首先先说一下这些坑:(组合套装)标题这个行代码一定要注意,而且随时打印code码,以便确认错误.2.大致思路:3. 先根据ID查询出来url@RequestMapping(value="test1", produces = "text/plain;charset=UTF-8")public void test2(HttpServletRequest request ,...原创 2018-11-28 11:48:46 · 9948 阅读 · 2 评论 -
ftp服务器批量下载文件(方式二)
1.大概思路:2. 先根据ID查询出来url@RequestMapping(value="test1", produces = "text/plain;charset=UTF-8") public void **test2**(HttpServletRequest request ,Htt原创 2018-11-28 14:20:34 · 8260 阅读 · 2 评论