Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Joe Ess
  • salvin francis

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
He's my best friend. Not yours. Mine. You can have this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!