摘要
采用HTTP协议实现Web应用中的多文件上传有多种方式。文中针对其中的JavaBean和Struts框架两种方式,分析了从上传文件输入流中提取文件和筛选数据的方法,指出二者处理输入流时的差异。文中结合实例分别给出了它们的实现过程,并根据实际项目开发环境对二者的适用场合进行分析说明。
There are many ways to realize multiple files upload using HTTP protocol in Web application. Intruduced two methods , JavaBean and Struts framework , about upoading multiple files. Analyzed how to require file and data from data input stream, indicadad the difference of processing data input stream between them. With an example, the paper introduced process of upload files about two methods, and analyzed application occasion of two methods according to project and development environment.
出处
《计算机技术与发展》
2006年第4期158-160,163,共4页
Computer Technology and Development
基金
陕西省教育厅产业化培育项目(AJ05012)