分享

Apache commons FileUpload 组件

 dinghj 2014-11-23

Commons FileUpload

The Commons FileUpload package makes it easy to add robust, high-performance, file upload capability to your servlets and web applications.

FileUpload parses HTTP requests which conform to RFC 1867, "Form-based File Upload in HTML". That is, if an HTTP request is submitted using the POST method, and with a content type of "multipart/form-data", then FileUpload can parse that request, and make the results available in a manner easily used by the caller.

Starting with version 1.3, FileUpload handles RFC 2047 encoded header values.

The simplest way to send a multipart/form-data request to a server is via a web form, i.e.


<form method="POST" enctype="multipart/form-data" action="fup.cgi">
  File to upload: <input type="file" name="upfile"><br/>
  Notes about the file: <input type="text" name="note"><br/>
  <br/>
  <input type="submit" value="Press"> to upload the file!
</form>

Documentation

The following documentation is available:

You can also browse the Subversion repository.

Downloading

Full Releases

FileUpload 1.3.1 - 7 February 2014

  • Download the binary and source distributions from a mirror site here

FileUpload 1.3 - 27 March 2013

  • Download the binary and source distributions from the archive site here

FileUpload 1.2.2 - 29 July 2010

  • Download the binary and source distributions from the archive site here

FileUpload 1.2.1 - 18 January 2008

  • Download the binary and source distributions from the archive site here

FileUpload 1.2 - 13 February 2007

  • Download the binary and source distributions from the archive site here

FileUpload 1.1.1 - 08 June 2006

  • Download the binary and source distributions from the archive site here

FileUpload 1.1 - 22 Dec 2005

  • Download the binary and source distributions from the archive site here

FileUpload 1.0 - 24 Jun 2003

  • Download the binary and source distributions from the archive site here

Releases Candidates

None available.

Support

The Apache Commons mailing lists act as the main support forum. The user list is suitable for most library usage queries. The dev list is intended for development discussion. Please remember that the lists are shared between all commons components, so prefix your e-mail subject line with [fileupload].

Issues may be reported via ASF JIRA.       

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多