File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 32822

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]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: image store and retrieve
It's not a secret anymore!