File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How do I insert a BLOB from a servlet
Joined: May 27, 2008
Oct 26, 2008 12:29:00
I have a web page in which i have a browse button which selects an
on my local hard disk. I have a submit button which submits the file to the server.
How do I insert this image into a BLOB attribute in a table of my database.
The data type of the image specified in the database is type BLOB.
Please specify the code if possible.
Author and ninkuma
Joined: Jan 10, 2002
Oct 26, 2008 13:17:00
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please
for more information.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: How do I insert a BLOB from a servlet
How to convert blob data to image and display
string to blob-please help
Image insertion into database
How do I insert an image into a database from a servlet?
storing images in the database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014