This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to retrieve an imagefrom frontend? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to retrieve an imagefrom frontend?" Watch "How to retrieve an imagefrom frontend?" New topic
Author

How to retrieve an imagefrom frontend?

Deeps Dhr
Greenhorn

Joined: Jul 12, 2005
Posts: 4
Hello All,

I am working on the oracle database .There's one table in the database that stores an image field (field type BLOB)..

I have to retrieve this field from the front end through my query......What data type should in use to get it from the front end? For eg: we use rs.getString() to get a string value.......what shd i use to get the image?
Madhumathy Viswanathan
Greenhorn

Joined: Jun 01, 2005
Posts: 6
There is a method called getBlob in resultset.You can try this.


Madhumathy
 
wood burning stoves
 
subject: How to retrieve an imagefrom frontend?
 
Similar Threads
How to Retrieve Name From Dabatabase
Storing and retrieving images
Struts Survival Guide
Using Eclipse SWT Image, JDBC SQLite and JAVA to insert, store and retrieve Images.
how to insert image into mySql database