I am using JFree chart for generating piechart.I am using the method "ChartFactory.createPiechart3D". This is written in a utility class which returns me the buffered image object. Using a servlet, i call the method in the utility class and get the buffered image output in the servlet.
Now, my servlet contains the buffered image output.
All i have to do is transfer this image to a jsp inorder to display the piechart to the user.
( I have to include the servlet in my jsp)
I 'll be very thankful to the person whomever is helping me out in this context.