﻿<?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 / FusionCharts and JSP  / accessing Data.xml under WEB-INF/xml / 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>Thu, 21 Aug 2008 16:33:20 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: accessing Data.xml under WEB-INF/xml</title><link>http://www.fusioncharts.com/forum/Topic5277-33-1.aspx</link><description>Hi Jooly,&lt;BR&gt;  In WEB-INF folder configuration files are kept. You can also keep java classes and libraries. You can create a java class which would provide a method to return xml for the chart. This might work.</description><pubDate>Mon, 31 Mar 2008 00:29:19 GMT</pubDate><dc:creator>Arindam</dc:creator></item><item><title>RE: accessing Data.xml under WEB-INF/xml</title><link>http://www.fusioncharts.com/forum/Topic5277-33-1.aspx</link><description>Hi Arindam, &lt;br&gt;&lt;br&gt; yes it works when it is placed on any folder other than WEB-INF.&lt;br&gt;    String chartCode= createChart("FusionCharts/Column3D.swf", "Data.xml", "", "myFirst", 600, 300, false, false);&lt;br&gt;&lt;br&gt; i also tried to create subfolders:&lt;br&gt;    String chartCode= createChart("FusionCharts/Column3D.swf", "charts/xml/Data.xml", "", "myFirst", 600, 300, false, false);&lt;br&gt;&lt;br&gt; the sole reason why i want to put it under than WEB-INF is to ensure security, since i dont want my jsp/xml file to be     accessed by anonymous users. &lt;br&gt;&lt;br&gt;so is there any way to specify the file &lt;br&gt;    String chartCode= createChart("FusionCharts/Column3D.swf", "WEB-INF/xml/Data.xml", "", "myFirst", 600, 300, false, false);&lt;br&gt;&lt;br&gt; an example would be nice:D</description><pubDate>Wed, 26 Mar 2008 04:41:07 GMT</pubDate><dc:creator>Jooly</dc:creator></item><item><title>RE: accessing Data.xml under WEB-INF/xml</title><link>http://www.fusioncharts.com/forum/Topic5277-33-1.aspx</link><description>Hi Jooly,&lt;BR&gt;   Could you please try putting test.jsp in the application folder or any folder which is relatively accessible by the application.&lt;BR&gt;  &lt;BR&gt;  String chartHTMLCode=FusionChartsCreator.createChartHTML("FusionCharts/Column3D.swf", "test.jsp", "", "myFirst", 600, 300,false); &lt;BR&gt;</description><pubDate>Wed, 26 Mar 2008 03:03:37 GMT</pubDate><dc:creator>Arindam</dc:creator></item><item><title>accessing Data.xml under WEB-INF/xml</title><link>http://www.fusioncharts.com/forum/Topic5277-33-1.aspx</link><description>hi, is there any way to tell my jsp page to locate the data.xml under the web-inf folder? what i did is:&lt;br&gt;&lt;br&gt;String chartHTMLCode=FusionChartsCreator.createChartHTML("FusionCharts/Column3D.swf", "[b]/WEB-INF/jsp/test.jsp[/b]", "", "myFirst", 600, 300,false); &lt;br&gt;&lt;br&gt;but since accessing directly in WEB-INF is not possible. any suggestions on how can i pass the data.xml to the spring controller</description><pubDate>Wed, 26 Mar 2008 02:03:59 GMT</pubDate><dc:creator>Jooly</dc:creator></item></channel></rss>