To run the Swiff Chart Generator JSP samples on your Web Application Server you need to have the SwiffChart.jar archive installed on your Web Application Server and accessible for the JSP sample pages. In some cases the SwiffChart.jar archive must be installed in the WEB-INF/lib folder of the JSP page servlet folder. You must also edit the JSP code samples to specify the Swiff Chart Generator installation directory as well as the Web Application Server document root.
<install_dir>/samples/JSP/Where <install_dir> is Swiff Chart Generator installation directory. These folders contain the JSP sample pages.
String installation_dir= "C:\\Program Files\\GlobFX\\Swiff Chart Generator 4";For example, for JSP Unix
String installation_dir= "/usr/local/SwiffChart";
String web_root= "C:\\tomcat\\webapps\\ROOT";
<install_dir>/samples/JSP/lib/Where <install_dir> is Swiff Chart Generator installation directory.
To test the Swiff Chart Generator installation, open your web browser (you must have the Flash plug-in installed), type the following URL in and browse in the available directories to view the samples:
http://your_server_name/your_directory/
where your_server_name is the machine name of your Web Application Server (possibly 127.0.0.1:8080 - the localhost machine) and your_directory is the servlet folder where your JSP samples have been published.