|

Personal, Standard, Enterprise
|
OOP MimeParser Version 3.1 (ID #20897)
OOP-Reserch Corporation
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

OOP MimeParser Version 3.1 home page
|