This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying BLOB in JSF  RSS feed

Sushma Sharma
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,
I am having trouble displaying BLOB data in my page. My requirement is that I must be able to show some predefined types(PDF, HTML, GIF, JPEG, DOC, XLS) of BLOB data in my page. This page must have the header of my application. I tried to use the example given at I tried that example and it seemed to work for Images. But after I incorporated it in my app, I am getting the following exception. Upload works, but problem is with displaying the content of the BLOB data. We have a field in the table where we set what type of data is in the BLOB, so I set the contentType from that. I am using Myfaces 1.1.5, Tomahawk 1.1.3, Ajax4Jsf 1.1.1server is WLS8.1 sp6.
I understand that it is a problem with the page encoding/ content type set for the page.I tried it with UTF-8 and ISO-8859-1, but neither of them worked. Any help is appreciated.


[ August 28, 2007: Message edited by: Sushma Sharma ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!