Home » questions » how to retrieve an image from the database and store it in webserver so that i can display in a web

how to retrieve an image from the database and store it in webserver so that i can display in a web

2006-08-11 03:52:06, Category: Programming & Design

Answers

  1. rjha94

    On 2006-08-11 05:13:07


    Store the images as raw data in your DB tables. Read them back as a stream in JDBC (or equivalent). Now you set the correct mime type for image and then just stream it back from your web server.
  2. Bogdan

    On 2006-08-11 03:58:14


    What kind of database?! Anyhow, save the image and upload it to the server using either an uploading program or the special Web page used to upload files (like in "Yahoo! Geocities")
  3. small_ticket

    On 2006-08-11 04:23:25


    put it to the server via an ftp. than save the full path of the image and use that path to retrieve the image...
  4. ash_m_79

    On 2006-08-11 03:58:27


    Select [imagename] from [tablename] where [Select criteria]= [fulfill condition]
  5. ch_nagarajind

    On 2006-08-11 04:23:03


    store the pathnames in database and using the path u can get them into u r page it is the best way to do it