I have created the bar charts in standalone applications. But the same thing i have tried to display in jsp.
However it is not showing the output in barchart. Here i have used in both cases jfree chart jar files.
The below one is the code
Never, ever, use relative paths in a web app - they simply don't work. Use an absolute path that points to a publicly accessible directory within the web app, and make sure you create the correct URL to it in the IMG tag.
You might also want to look into better integration of JFreeChart with the web app, such as provided by a tag library like cewolf (see link in my signature).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com