A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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 image 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
How do I insert an image into a database from a servlet?
string to blob-please help
storing images in the database
Image insertion into database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014