Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Rabiah Begum    on Sep 03 In Java Category.

  
Question Answered By: Robin Hayes   on Sep 03

A simple servlet can take care of display the image by setting it's content
type to image/jpeg (let's say) and in the html  the image src attribute would
look like this: ghooriboori.com/servlets/ImageServlet?id=1243. The
servlet simply can read the bytes from the db.

Share: 

 
 
Didn't find what you were looking for? Find more on Writing HTML to a browser from a DB Or get search suggestion and latest updates.


Tagged: