This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I want to create charts in JSP page by using NetBeans.
I tried the tutorial in Cewolf webpage, but still I have problems !!
Anyone have ideas about using Cewolf with NetBens ??
Ulf Dittmer wrote:What, exactly, have you tried, and what was the result?
Forget about NetBeans for a moment - did you get the cewolfexample web app to run in your servlet container? If not, that's where you should start.
I tried the steps of tutorial on netBeans, and YES I get the cewolfexample web app.
First point, I couldn't find (( jfreechart-*-demo.jar)) file which is in first step of tutorial. to add into web application's /WEB-INF/lib directory.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35429
9
posted
0
I couldn't find (( jfreechart-*-demo.jar))
Is that an actual problem? Meaning, what happened when you tried to proceed without that file? I think it's not needed.
latifa salem
Greenhorn
Joined: Dec 31, 2010
Posts: 5
posted
0
Ok on second step.. I add the code to servlet page. and find many errors
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35429
9
posted
0
The cewolfexample web app comes with numerous libraries; they're all required.
latifa salem
Greenhorn
Joined: Dec 31, 2010
Posts: 5
posted
0
Ok where I can find these libraries ??
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35429
9
posted
1
In the cewolfexample web app.
latifa salem
Greenhorn
Joined: Dec 31, 2010
Posts: 5
posted
0
Ulf Dittmer wrote:In the cewolfexample web app.
Thank you very much
its work ^___^
but I have another question, how we can save the chart in database or any file in computer ???
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35429
9
posted
0
The org.jfree.chart.ChartUtilities class has methods to save images to disk. You could use that in a ChartPostProcessor (where you get passed an instance of a JFreeChart object).
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.