• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Facing problem while using the JFreeChart in servlet

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
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

 
reply
    Bookmark Topic Watch Topic
  • New Topic