• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieving gif from database

 
ash raj
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to store a gif image in a database and how to retrieve it
using my servlet page ?
 
Brett Knapik
Ranch Hand
Posts: 255
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic