Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes image store and retrieve Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "image store and retrieve" Watch "image store and retrieve" New topic

image store and retrieve

Namrta Pandey
Ranch Hand

Joined: Jul 22, 2008
Posts: 36

My problem is that I want to upload images in JSP and save it in a table of MS Access. Then on another JSP I want to show all the images along with their details. Please tell me that what should be the column type of image and code to store and retrieve images from/to JSP page.

Thanks in Advance.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32312

Images are typically stored in a BLOB (binary large object.) Have you seen the JDBC tutorial yet? It has a section on BLOBs.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Don't get me started about those stupid light bulbs.
subject: image store and retrieve
jQuery in Action, 3rd edition