Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 20897, OOP MimeParser Version 3.1

by Jun Inamori Email: Anonymous

File upload JSP/Servlet through multipart/form-data. Checks the width/height of PNG, JPEG or GIF.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For JBuilder, Version 6.0  to 10.0 84 downloads
Copyright: All rights reserved

Size: 219,204 bytes
Updated on Sun, 26 Oct 2003 15:14:43 GMT
Originally uploaded on Sun, 26 Oct 2003 15:16:14 GMT
SHA1 Hash: E55284889696641E8FB03C663E2D48DA55455B67
MD5 Hash: 24F40666D4B64BDEF1B7A12454049924

    Explore the files in this upload

OOP MimeParser is the Java API for file upload JSP/Servlet. This Java API parses InputStream of HTTP POST request with multipart/form-data encode. By this Java API, only the single method call is enough for your file upload Servlets/JSP.
Your Servlets/JSP has the full control over where to save the uploaded files. Or, your Servlets/JSP can get the binary contents of the uploaded files, without saving the uploaded files on the disk. In this case, you can save the binary contents into SQL table.
You can write the maximum file size and the acceptable mime-types into the property file. If the user tries to upload larger files or files of the invalid mime-types, this API will throw the exception, i.e. your Servlets/JSP has a chance to catch the exception and show the appropriate message. Your JSP/Servlet can also limit the width/height of the PNG, GIF or JPEG to be uploaded.
In addition, you can specify the charset to decode the text parameter (text data from text input or text area) from the CGI FORM with multipart/form-data. This is very important to get the text parameters with the 2 bytes characters, such as Japanese Shift_JIS, Chinese BIG5, Chinese GB2312 or Russian KOI8-R.

For details, please read the introduction at:
And, please try and download the example at:

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04