Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Book Giveaway

Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup - yer in the right place.
To get the full scoop on how to score a book, see
Commenting on this thread doesn't count for the giveaway! Remember only people who are registered with Proper Names and email turned on are entered!
This week we are featuring is Kevin Williams book Professional XML Databases!
All us Ranchers need to give him a warm welcome!
Anybody have any questions about this week's giveaway?

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an image which is stored in the Oracle Database.
I want to store this image in a Java variable(string) and then I want to pass this string(containing image) to XSLT stylesheet which will display that image(.gif or .jpg) in a browser.
How do i do it? Any help with a working example is appreciated.
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't really do this, since HTML processors deal with images as separate streamed entities that are returned in a second pass. Probably the best approach would be to write a servlet that takes some sort of key, retrieves the image from the database corresponding to that key, and streams it back to the client; you would then send a URL pointing to that servlet (and passing it the appropriate key) as the HREF attribute on the IMG element in your HTML document.
- Kevin
Kevin Williams
Senior System Architect, Equient Corporation
author of: Professional XML Databases
"I know this defies the law of gravity... but I never studied law." -B. Bunny Defiant tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic