I have deployed the Chart Engine API in jboss portal. When I write the chart to a local drive and write the report as HTML file it is working properly.<br />
<br />
The issue I am facing is When I integrate this in jboss portal. It is not working. The image is written to the bin directory in jboss portal. The image tag is always has the src as jboss portal bin directory as follows. <br />
<br />
file:/C:/Servers/jboss-portal-2.7.2/bin/
http://localhost:8080/BirtChartPortlet/images/custom1.jpg</img>.<br />
<br />
I have designed the report using Eclipse BIRT designer and generating the chart using the IRenderTask and HTMLRenderOption. Setting the image directory using the HTMLRenderContext class.<br />
<br />
I am wondering how to save the image to the portlet contextpath and use it from there.