﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / General usage  / Unable to access .swf chart fiels located under WEB-INF folder. / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 07 Jan 2009 17:36:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Unable to access .swf chart fiels located under WEB-INF folder.</title><link>http://www.fusioncharts.com/forum/Topic6867-28-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Even i tried with the standalone example as it is given in the "$\Code\JSP\BasicExample\BasicChart.jsp" with the Tomcat 6.0.  But i am not able to access the Column3D.swf file located under the /WEB-INF/FusionCharts/.    (See the below code)&lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;String chartHTMLCode=createChartHTML("../../FusionCharts/Column3D.swf", "Data/Data.xml", "", "myFirst", 600, 300, false);&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;Please let me know the solution for this.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rambabu.</description><pubDate>Mon, 16 Jun 2008 09:26:41 GMT</pubDate><dc:creator>Rambabu</dc:creator></item><item><title>Unable to access .swf chart fiels located under WEB-INF folder.</title><link>http://www.fusioncharts.com/forum/Topic6867-28-1.aspx</link><description>&lt;STRONG&gt;I placed all .swf files under WEB-INF folder for the security reasons.&lt;/STRONG&gt; But I am not able to access those files if they are in WEB-INF folder through javascript and Java code in the JSP. (See the below code)&lt;/P&gt;&lt;P&gt;&lt;U&gt;JavaScript: &lt;/U&gt; &lt;/P&gt;&lt;FONT color=#008080 size=2&gt;&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#3f7f7f size=2&gt;script &lt;/FONT&gt;&lt;FONT color=#7f007f size=2&gt;type&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;=&lt;/FONT&gt;&lt;FONT color=#2a00ff size=2&gt;"text/javascript"&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#3f5fbf size=2&gt;new FusionCharts("/WEB-INF/fusionCharts/Bar2D.swf", "", "xmlString", "chart1Id", "400", "180", 0, 0);            (or)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;new FusionCharts("../../WEB-INF/fusionCharts/Bar2D.swf", "", "xmlString", "chart1Id", "400", "180", 0, 0); &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;&amp;lt;/script&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;&lt;U&gt;Java:&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;&amp;lt;%&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;String chartHTMLCode=FusionChartsCreator.createChartHTML("../../WEB-INF/fusionCharts/Bar2D.swf", "", "strxml", "scoreGraph", 400, 180, false);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;%&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;Please let me know how can i access these files from the WEB-INF folder.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; that i can able to access .swf files if i placed them outside of web-inf folder. &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3f5fbf&gt;Rambabu.&lt;/FONT&gt;</description><pubDate>Mon, 16 Jun 2008 05:35:15 GMT</pubDate><dc:creator>Rambabu</dc:creator></item></channel></rss>