KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /home/queenjbs/www/FusionChart/ExportHandlers/J2EE/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/queenjbs/www/FusionChart/ExportHandlers/J2EE/Readme.txt
FusionCharts Server-side Export Handler - J2EE
==============================================

For exporting the chart as image/pdf at server side using JSP, the following library files are required on your server:

1. fcexporter.jar (contains all the dependency classes)
2. fcexporthandler.jar (contains the export handler servlet and resources)
3. /classes/fusioncharts_export.properties (configuration file)

Setup
-----

Step1: Copy the neccessary files
Please place the export jars fcexporter.jar and fcexporthandler.jar in WEB-INF/lib and fusioncharts_export.properties in WEB-INF/classes folder.

FusionCharts Exporter has been tested with JDK 1.5.
Note that the FusionCharts Exporter jars for jdk1.4.2 is also available in ExportHandlers/JDK1.4 folder

Step2: Configure web.xml
Add the following servlet mapping in your application's web.xml

  <servlet>
    <display-name>FCExporter</display-name>
    <servlet-name>FCExporter</servlet-name>
    <servlet-class>com.fusioncharts.exporter.servlet.FCExporter</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>FCExporter</servlet-name>
    <url-pattern>/JSP/ExportExample/FCExporter</url-pattern>
  </servlet-mapping>
Please modify the url-pattern as per your application needs.
Step3: 
Specify the xml attribute exportHandler='FCExporter' assuming that the jsp rendering the chart is present in /JSP/ExportExample folder. 

Step4: 
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. 


Anon7 - 2021