I am displaying Chart in JSP page. I am using JRun App Server.
I am sending an example code of JSP page.
<html>
<head>
<title>Test</title>
</head>
<body bgcolor="#00ffff"> <!-- set background colour for page -->
Hello
<%
/**get the chart from request object which was got from servlet using RequestDispatcher*/
JFreeChart chart = (JFreeChart) request.getAttribute("CHART");
OutputStream ostream = response.getOutputStream();
ChartUtilities.writeChartAsJPEG(ostream, chart, 300, 300);
ostream.close();
%>
</body>
</html>
I am not getting the background color and i could not see "Hello" text too. Full page is converted as image. i.e., only chart is displayed. Pls tell me how to display a chart with background and text too. I want it without saving the chart.

regards,
sakaray_c