计算机与现代化 ›› 2011, Vol. 1 ›› Issue (3): 131-133.doi: 10.3969/j.issn.1006-2475.2011.03.037

• 应用与开发 • 上一篇    下一篇

关于JSP无组件文件上传的研究与实现

陈晓华1,田 刚2   

  1. 1.克拉玛依职业技术学院信息工程系,新疆 独山子 833600; 2.独山子石化总厂信息中心,新疆 独山子 833600
  • 收稿日期:2010-11-09 修回日期:1900-01-01 出版日期:2011-03-18 发布日期:2011-03-18

Study and Implementation of JSP Without Component File Upload

CHEN Xiao-hua1, TIAN Gang2   

  1. 1. Department of Information Engineering, Karamay Vocational & Technical College, Dushanzi 833600, China;2. Information Center, Petrochemical Plant of Dushanzi, Dushanzi 833600, China
  • Received:2010-11-09 Revised:1900-01-01 Online:2011-03-18 Published:2011-03-18

摘要: 文件上传的实现,总的思路是获取客户端的请求流,然后从这个输入流中读取指定的文件,再把这个文件保存到指定的位置。那么,如何从请求消息结构中得到指定的内容就成为问题的关键所在。本文给出一种解决方案。

关键词: JSP, 组件, 文件上传

Abstract: The realization of file upload, its general idea is to acquire the client requests flow and to read the specified file from the input stream, and to pass this file save to the location specified. So, how to get designated content from the request message structure becomes the key problem. This paper gives a solution.

Key words: JSP, component, file upload

中图分类号: