Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cewolf with Netbeans

 
latifa salem
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody

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 ??

Thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
latifa salem
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok on second step.. I add the code to servlet page. and find many errors



 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The cewolfexample web app comes with numerous libraries; they're all required.
 
latifa salem
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok where I can find these libraries ??
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the cewolfexample web app.
 
latifa salem
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic