基于Java技术的多文件上传和存取的研究及实现  被引量:3

Research and implementation of multiple files uploading, reading and writing based on Java technology

在线阅读下载全文

作  者:廖福保[1] 张文梅[1] 

机构地区:[1]广东农工商职业技术学院计算机科学系,广东广州510507

出  处:《计算机工程与设计》2008年第21期5665-5666,F0003,共3页Computer Engineering and Design

摘  要:针对当前Web多文件上传和存取的不足,提出了在客户端采用Applet、Web服务器端采用Servlet技术的多文件上传方案;客户端与服务器端利用JavaSocket技术进行数据的传输;为提高数据的传输效率利用ZipOutputStream、ZipInputStream类对象实现传输数据的压缩与解压缩;采用JDBC技术对上传的多文件和文件夹的路径进行存取,有效地解决了文件数据的管理问题;并给出了该方案关键的技术实现。实践结果表明,利用该方案进行文件上传,能减轻客户端与服务器之间的数据负担,提高了数据的传输效率并能实现对文件夹的上传。With the insufficiency ofuploading, reading and writing multiple files based on web, a solution of implementing is presented by using Applet in client and Servlet technology in server to upload multiple files. The technique of Java Socket is used to implement data transmission. To improve the efficiency of transmission, the solution implements to compress and unwrap compression data with ZipOutputStream, ZiplnputStream object. The solution resolves the management problem offile data by using JDBC technology to store the path of files and directory. The technology implementation of the solution is given. The practice shows that the solution can release the data load between client and server, improve the efficiency of transmission and implement multiple files uploading.

关 键 词:APPLET SERVLET 多文件上传 JDBC SOCKET 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象