Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get LONG RAW datatype image in jsp  RSS feed

 
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!