Sign in to follow this  
sahayaraj123

server-side image exporting proplem

Recommended Posts

hi

is fusioncharts version (v3.1) supports jdk 1.5 for server-side image exporting?

because, i  got the following errors

java.lang.UnsupportedClassVersionError: Bad version number in .class file

And i have used the following properties file

FusionCharts Server-side Export Handler - JSP

==============================================

For exporting the chart as image/pdf at server side using JSP, copy-paste the required files to your server:

1. FCExporter.jsp

2. FCExporterError.jsp

3. fcexporter.jar (contains all the dependency classes) or class files (classes in com.fusioncharts.exporter and sub-packages)

4. Resources/FCExporter_IMG.jsp

5. Resources/FCExporter_PDF.jsp

6. /Classes/fusioncharts_export.properties (configuration files)

Setup

-----

Please place the JSP in your web application, fcexporter.jar in WEB-INF/lib and fusioncharts_export.properties in WEB-INF/classes folder.

FusionCharts Exporter has been tested with Java 6.

The exportHandler attribute should have value "{Path}/FCExporter.jsp".

Configuration of save folder for server-side save

--------------------------------------------------

This is to be done in fusioncharts_export.properties file. Make sure that the folder path that you specify

has write permissions to it.

 

Thanks 

Share this post


Link to post
Share on other sites

I had similar problem, please use the following exporter jar for jdk 5 in place of the existing jar. This will solve the problem.

 

Hope this helps.

 

Need a help

 

For exporting fusion chart i used

1. FCExporter.jsp

2. FCExporterError.jsp

3. fcexporter.jar (contains all the dependency classes) or class files (classes in com.fusioncharts.exporter and sub-packages)

4. Resources/FCExporter_IMG.jsp

5. Resources/FCExporter_PDF.jsp

6. /Classes/fusioncharts_export.properties (configuration files)

 

but i get the error in FCExporter.jsp file as

 

The method parseExportRequestStream(FusionChartsExportData) in the type FusionChartsExportHelper is not applicable for the arguments (HttpServletRequest)

 

 

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
Sign in to follow this