Fusioncharts using JDBC Datasource in JSP

Recommended Posts

Hi Team,


I followed the below link to generate the 2D/3D chart using Datasource with JSP. While running the jsp, getting blank screen.




I have removed the template tags for the rendering section. Can you please share the sample example code that works with the JDBC datasource.

Initially tried with the Resful Webservices, but in one of the blog found that the Fusioncharts support is not available using services.


Attached the JSP file & the error message while executing the JSP in the Tomcat Server.


Best Regards,




Edited by ravivarma434

Share this post

Link to post
Share on other sites

In this section, we will show you how to use FusionCharts and JSP to plot charts from data contained in a database. Here, we will do the following:

  • Create a pie chart to show "Production by Factory" by initially using the dataStr method first.
  • TConvert the chart to use the dataURL method.
  • Next, we will create a multi-series line chart from database.

For the sake of ease, we will use MySQL Database. The database is present in Download Package > Code > J2EE > DB folder. You can, however, use any database with FusionCharts including MS Access, MySQL, MS SQL, Oracle. Database creation script for MySQL is also present in the same folder.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now