This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get LONG RAW datatype image in jsp

 
Usman Saeed
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have image in LONG RAW data type of Oracle 10g database. simply i want to display image on my jsp page.
Please share any sample code if possible.
Thank You.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each image in an HTML page represents a separate request to the server so "in jsp" is not what you want. You want an image serving servlet that can extract the image database in response to a request and send it with the appropriate content type, length, etc headers.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!