Currently we are working on a project which includes charts to be displayed using JFreeCharts.we have two JSP\'s for displaying Pie and another one for Bar chart.So how do i get two graphs in a single page which is in two different JSP\'s.

Showing Answers 1 - 1 of 1 Answers

grkapadia

  • Jan 2nd, 2006
 

Create a single JSP and use iframe to display multiple charts from different jsp files.

For eg.

<iframe src=http://some.com/jsp/pieChart.jsp?<parameters (if any)> width=430 height=245 frameborder=0>       </iframe>

<iframe src=http://some.com/jsp/barChart.jsp width=430 height=245 frameborder=0>       </iframe>

Modify the size of iframe as per your requirement.

This should work.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions