• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Cewolf with Netbeans

 
Greenhorn
Posts: 5
  • 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
 
Rancher
Posts: 43011
76
  • 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
  • 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
Posts: 43011
76
  • 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
  • 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
Posts: 43011
76
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok where I can find these libraries ??
 
Ulf Dittmer
Rancher
Posts: 43011
76
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the cewolfexample web app.
 
latifa salem
Greenhorn
Posts: 5
  • 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
Posts: 43011
76
  • 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).
 
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!