MultipartRequest File Upload parser provides a HttpServletMultipartRequest class that extends the HttpServletRequestWrapper implementation to provide methods for handling multipart form data. It supports Servlets using Java 1.2 or later.
|Tags||Software Development Libraries Internet Web Dynamic Content CGI Tools/Libraries|
|Operating Systems||OS Independent|
Release Notes: The API was completely redesigned. Much of the internals of the code remains the same, but the API is much more OO compatible and is for Java 2 servlets only.
Release Notes: Support was added for object (instead of static) setEncoding functionality, temporary filenames for uploading was fixed, and several other minor patches were made.
Release Notes: Uploaded files saved to the filesystem will now be saved with a unique filename. Several minor bugfixes were also applied. This is the initial beta release of this new functionality, and should be treated with caution.
Release Notes: A very minor fix, but one that was apparently causing some serious issues for some users, has been made. The intTotalRead integer was being set to -1, which meant that it was always off by one when comparing to Content-Length.
Release Notes: The MultipartRequest was moved into a package. The library is now provided in a jar archive for ease of use. Unfortunately, this may require changes to classes that use it. A bugfix was made for a problem which occurred with Netscape where if a file was uploaded with an unrecognised extension, no Content-Type was specified. In this case, the first line of the file was chopped off. The structure of the parse method was also modified to make it easier to understand and manage.