Seeing is believing! First of all, please enjoy the example of Bento framework that is running on our web site. It is the simple photo Blog where you can upload the image files by your web browser (multipart/form-data), or e-mail with file attachment. After you grasp how it works, please explore its source code. The source code of the example is included in the FREE trial version of Bento framework.
| [ Try and download example ... ] |
This API saves/retrieves the file into/from SQL table through JDBC PreparedStatement. Along with the binary contents of the file, the file name and the content-type can also be persistent. The user of the web application can upload the file by multipart/form-data encoding, and the JSP/Servlet can save it into SQL database by this API. For each file saved on the SQL table, the unique ID is issued. This ID can be saved into another SQL table within your web application, and can be used to get back the uploaded file later.
You can read the Java doc for this API online. Or it is included in the trial version of this API and you can download it at FREE.
| Java doc | README |
| Trial License | Product License (PDF) |
| Download | |
Copyright © 1997-2008 OOP-Research CorporationTM, All Rights Reserved.