It's not a secret anymore!
The moose likes Servlets and the fly likes retrieving gif from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "retrieving gif from database" Watch "retrieving gif from database" New topic

retrieving gif from database

ash raj

Joined: Nov 07, 2000
Posts: 5
how to store a gif image in a database and how to retrieve it
using my servlet page ?
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
Just a thought on a how different way this could be done. create a method within a bean that inserts the html code along with the image source. for example in your database you could have a column called imageurls the values of the row/column would be <IMG SRC="url to image here"> then in a jsp page you would import the bean and call getinfo(image) or like for a prodcut ID for example getinfo(id). just a thought on how this can be done.
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
[This message has been edited by Brett Knapik (edited November 11, 2000).]

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
I agree. Here's the link:
subject: retrieving gif from database
jQuery in Action, 3rd edition