HttpServletMultipartRequest parses multipart form data. From version 2.0 of the API only Servlets using Java 2 or later are supported.
Be the first to post a text review of MultipartRequest File Upload parser. Rate and review a project by clicking thumbs up or thumbs down in the right column.
2.00 ---- Final 2.0 release 2.00b10 ------- 2007-09-22 13:14 jasonpell * build.xml: minor changes to build script to generate release zip file. 2007-09-22 12:48 jasonpell * build.xml, test/net/iamvegan/multipartrequest/AbstractDumpTestCase.java, test/net/iamvegan/multipartrequest/EmptyFileNormalParametersTest.java, test/net/iamvegan/multipartrequest/MultiPartMultifileUploadNormalParametersTest.java, test/net/iamvegan/multipartrequest/NoMultipartNormalParametersTest.java, src/net/iamvegan/multipartrequest/HttpServletMultipartRequest.java, test/dumps/NoMultipart_NormalParameters_Firefox-2.0.0.3.dump, test/net/iamvegan/multipartrequest/util/DumpFile.java: Modified test cases 2007-09-22 12:13 jasonpell * test/net/iamvegan/multipartrequest/util/EchoUploadDataServlet.java, test/net/iamvegan/multipartrequest/util/testupload.java, .classpath, build.xml, WebContent/WEB-INF/web.xml, lib/junit.jar, test/net/iamvegan/multipartrequest/EchoUploadDataServlet.java, test/net/iamvegan/multipartrequest/EmptyFileNormalParametersTest.java, test/net/iamvegan/multipartrequest/testupload.java, test/net/iamvegan/multipartrequest/util/DumpFile.java, test/org/apache/commons/fileupload/MockHttpServletRequest.java: Add test target to ant, include junit.jar dependency, and restructure test classes a little. 2007-09-22 11:35 jasonpell * javadocs.zip, multipartrequest.jar, FileUploadWebApp.war, WebContent/WEB-INF/lib/multipartrequest.jar: these files are generated from the build script so they should not be persisted. 2007-09-20 23:50 jasonpell * lesser.txt: lesser.txt is not required because LICENSE is already included. 2007-09-20 23:47 jasonpell * src/net/iamvegan/multipartrequest/HttpServletMultipartRequest.java: minor javadoc changes 2007-09-20 23:41 jasonpell * src/net/iamvegan/multipartrequest/: EmptyInputStream.java, HttpServletMultipartRequest.java, MaxContentLengthException.java: minor reformatting of source code to conform to sun java standards. 2.00b9 ------ Minor typo in MaxContentLengthException getMaxContentLength() method name fixed. 2.00b8 ------ Modified MaxContentLengthException class to use maxContentLength member and method instead of old maxBytesRead. 2.00b7 ------ Added character encoding parameter to constructor. 2.00b6 ------ Bugfixes to support duplicate file upload fields, plus a few javadocs changes. 2.00b5 ------ Removed the following api methods: String getFileContentType(String name) String getFilename(String name) long getFileSize(String name) String getFileContentType(String name) java.io.InputStream getFileInputStream(String name) All these methods called the MultipartFile object anyway, so it make sense to force the use of this class in all cases, certainly simplifies maintenance. Renamed the getFile() method to getFileParameter(), add a new getFileParameterValues() which returns an array of MultipartFile objects. 2.00b4 ------ Replaced array structure with a new MultipartFile class to store all file related uploads. If a file is of zero bytes uploaded it will no longer be saved. The filename as uploaded is available as a normal parameter where required in this case. A few minor api changes otherwise. 2.00b3 ------ Modified constructor interface to use int mode params instead of properties, build process updated too. 2.00b2 ------ The properties parser was not actually working and this has been fixed. Removed abort_on_maxbytes property, as this is the default. Modified code to use the apache commons upload ParametersParser, in a similiar way to a fork of this project has done: https://svn.atlassian.com/svn/public/contrib/tools/pell-multipart-request/trunk/src/main/java/http/utils/multipartrequest/MultipartRequest.java 2.00b1 ------ Initial release
2.00 ---- Final 2.0 release 2.00b10 ------- 2007-09-22 13:14 jasonpell * build.xml: minor changes to build script to generate release zip file. 2007-09-22 12:48 jasonpell * build.xml, test/net/iamvegan/multipartrequest/AbstractDumpTestCase.java, test/net/iamvegan/multipartrequest/EmptyFileNormalParametersTest.java, test/net/iamvegan/multipartrequest/MultiPartMultifileUploadNormalParametersTest.java, test/net/iamvegan/multipartrequest/NoMultipartNormalParametersTest.java, src/net/iamvegan/multipartrequest/HttpServletMultipartRequest.java, test/dumps/NoMultipart_NormalParameters_Firefox-2.0.0.3.dump, test/net/iamvegan/multipartrequest/util/DumpFile.java: Modified test cases 2007-09-22 12:13 jasonpell * test/net/iamvegan/multipartrequest/util/EchoUploadDataServlet.java, test/net/iamvegan/multipartrequest/util/testupload.java, .classpath, build.xml, WebContent/WEB-INF/web.xml, lib/junit.jar, test/net/iamvegan/multipartrequest/EchoUploadDataServlet.java, test/net/iamvegan/multipartrequest/EmptyFileNormalParametersTest.java, test/net/iamvegan/multipartrequest/testupload.java, test/net/iamvegan/multipartrequest/util/DumpFile.java, test/org/apache/commons/fileupload/MockHttpServletRequest.java: Add test target to ant, include junit.jar dependency, and restructure test classes a little. 2007-09-22 11:35 jasonpell * javadocs.zip, multipartrequest.jar, FileUploadWebApp.war, WebContent/WEB-INF/lib/multipartrequest.jar: these files are generated from the build script so they should not be persisted. 2007-09-20 23:50 jasonpell * lesser.txt: lesser.txt is not required because LICENSE is already included. 2007-09-20 23:47 jasonpell * src/net/iamvegan/multipartrequest/HttpServletMultipartRequest.java: minor javadoc changes 2007-09-20 23:41 jasonpell * src/net/iamvegan/multipartrequest/: EmptyInputStream.java, HttpServletMultipartRequest.java, MaxContentLengthException.java: minor reformatting of source code to conform to sun java standards. 2.00b9 ------ Minor typo in MaxContentLengthException getMaxContentLength() method name fixed. 2.00b8 ------ Modified MaxContentLengthException class to use maxContentLength member and method instead of old maxBytesRead. 2.00b7 ------ Added character encoding parameter to constructor. 2.00b6 ------ Bugfixes to support duplicate file upload fields, plus a few javadocs changes. 2.00b5 ------ Removed the following api methods: String getFileContentType(String name) String getFilename(String name) long getFileSize(String name) String getFileContentType(String name) java.io.InputStream getFileInputStream(String name) All these methods called the MultipartFile object anyway, so it make sense to force the use of this class in all cases, certainly simplifies maintenance. Renamed the getFile() method to getFileParameter(), add a new getFileParameterValues() which returns an array of MultipartFile objects. 2.00b4 ------ Replaced array structure with a new MultipartFile class to store all file related uploads. If a file is of zero bytes uploaded it will no longer be saved. The filename as uploaded is available as a normal parameter where required in this case. A few minor api changes otherwise. 2.00b3 ------ Modified constructor interface to use int mode params instead of properties, build process updated too. 2.00b2 ------ The properties parser was not actually working and this has been fixed. Removed abort_on_maxbytes property, as this is the default. Modified code to use the apache commons upload ParametersParser, in a similiar way to a fork of this project has done: https://svn.atlassian.com/svn/public/contrib/tools/pell-multipart-request/trunk/src/main/java/http/utils/multipartrequest/MultipartRequest.java 2.00b1 ------ Initial release
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?