Watch, Follow, &
Connect with Us

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


ID: 22143, 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 11.0 52 downloads
Copyright: All rights reserved


Size: 216,903 bytes
Updated on Wed, 18 Aug 2004 11:55:11 GMT
Originally uploaded on Wed, 18 Aug 2004 11:54:10 GMT
SHA1 Hash: 2357D67B9AD69CE26522B7638C0182FDB35571E4
MD5 Hash: 485BFC3511F7964C5F9DC9AA93B68822

    Explore the files in this upload

Description
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:
http://www.oop-reserch.com/mime_1_1.html
And, please try and download the example at:
http://www.oop-reserch.com/mime_example_3.html

For more information, see http://www.oop-reserch.com/mime_1_1.html

   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