This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Image Display problem in jasper report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Image Display problem in jasper report" Watch "Image Display problem in jasper report" New topic
Author

Image Display problem in jasper report

kademane guru
Greenhorn

Joined: Feb 20, 2007
Posts: 21
Hi JavaRancher's
I am working on jasper report,in this i am able to display images in HTML format,but i am not able to export or dipslay images in EXCEL or PDF format.
I wrote following code in reports to display images in all format.

<image isUsingCache="false" isLazy="true">
<reportElement x="168" y="15" width="80" height="20"/>
<imageExpression class="java.lang.String"><![CDATA[$R{logo}]]>
</imageExpression>
</image>

In my projects i need to display images in Excel and PDF format.
Please help me out in this with some examples.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

"kademane guru", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Image Display problem in jasper report
 
Similar Threads
Jasper Report Help Required
Reports in JSP Page
background image removal while printing pdf in jasper reports
Jasper Reports
Referencing an image in Jasper Report