This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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."
jQuery in Action, 2nd edition
subject: retrieving gif from database
Similar Threads
how to store jpg/gif picture in Database
servlet with JDBC
check if there is a gif viewer
Urgent-servlet response
servlet with JDBC