Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[Jasper Report] Can't render image

 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java File
----------------



--------------------
JRXML File
--------------------



When I pass bais(ByteArrayInputStream),lr(JRRenderable) object reference as a parameter, it can't render the image rather it shows jasper report's default image. But when I pass fis(FileInputStream) object reference it renders the image correctly. Can somebody help me? Cross Posting.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!