Shweta k
-
Content count
5 -
Joined
-
Last visited
Posts posted by Shweta k
-
-
Hi,
You said that FusionCharts work with xhtml , so can you please explain how?
Thanks & Regards,
Shweta
-
Hi,
Actually i am working on Icefaces and that <jsp:declaration> and <jsp:expression> tag is not compatable in Icefaces project.
So can you please guide me in this.
-
Thanks Bindu.....I will go through it and reply you.....Hope it works.....
-
Hi ,
I am working on FusionCharts .I have created a project on fusioncharts with .jsp but actually i need .xhtml.
For jsp the supporting file i.e FusionChartsRenderer.jsp has a scriptlet in it.I want to know whether .xhtml supports scriptlets?
And also please provide me a demo project of fusioncharts in xhtml.
Thanks & Regards,
Shweta K
String To Xml Conversion
in XML Issue
Posted · Report reply
Hi,
I am trying to parse String to XML using FileWriter ,so I am able to parse the data.
Next thing is to fetch the data from xml in xhtml page to display the graph.
But the problem is that I have to initially once refresh the XML file.
I want to know how to fetch the data from XML without refreshing?
For reference will share my code:
public static void main(String[] args) throws IOException{
String strXML = ” <graph caption="Annual Sales Summary" subcaption="For the period of 2004 to 2007"xAxisName="Year" yAxisName="Sales" numberPrefix="$"><set name="2004" value="37800" color='F6BD0F' /><set name="2005" value="21900" color='8BBA00' /></graph> ”
BufferedWriter out = new BufferedWriter(new FileWriter("WebContent/Data/outfilename.xml"));
try {
out.write(strXML);
}
catch (IOException e) {
e.printStackTrace();
}
finally{
out.close();
}
}
Regards,
Shweta K