Java服务器端支持断点续传代码
private void downLoad(String filePath, HttpServletRequest request, HttpServletResponse response) {
File downloadFile = new File(filePath);//要下载的文件
long fileLength = downloadFile.length();//记录文件大小
原创
2012-06-27 14:17:27 ·
654 阅读 ·
0 评论