Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Image issue in struts based BIRT viewer
Gacc
Hi,
Please help !
I have created a struts application for viewing BIRT reports.
On viewing a report, the data is visible but the image does not appear.
report is exported in html in byte array and flushed on jsp.
The image (jpg) is not visible.
Server used: tomcat 7.0
will appreciate a quick help !
Find more posts tagged with
Comments
JasonW
view the source of the produced html. Where does the image src tag point?
Did you set base image url and image directories in your code?
Jason
Gacc
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="95219" data-time="1328735999" data-date="08 February 2012 - 02:19 PM"><p>
view the source of the produced html. Where does the image src tag point?<br />
Did you set base image url and image directories in your code?<br />
<br />
Jason<br /></p></blockquote>
<br />
- When i check the XML for the report, i can see the whole image encoded in the XML itself.<br />
- in the source of the html, the image url directs to the temp folder of the tomcat.The images are present in the temp folder but are not being shown on the final report.
JasonW
Can you post the generated html for the img? Ie I want to see the img src tag.
BTW if you are writting a servlet you can set an image directory and base image url . Read over this section:
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php#emitterconfiguration
Jason