• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Facing problem while using the JFreeChart in servlet

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am try to create a pie chart by using the JFreeChart

with the simple java program is displaying the chart and program is

but i am trying to invoke the same class with some modification by changing the signature of main method as public void main

and calling servlet is

and i am geeting the Exception, i know this is come because the class is not found in classpath but if this is a case then in first program its also should be displayed but its not

I add two jar jcommon and jfreechart in eclipse by BUILD PATH and this class is showing in the jar file

this is very unexpected and i am very keen to know the resean, Please Help me

We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!