Hello! The experience i had in this field was a project for develloping a web site for an invest bank. They wanted to show pipe graph representing shares of a client. We work with a servlet that retrieve the data from the database. Then the data was reformatted and a mpeg was created on a temporary directory. The url of this file was put in the http session and finally displayed by the Jsp on which the request was forwarded. This temporary directory was attach to the session and destroy when this died. I was worrying about the creation of the mpeg file. But it's quite fast and the deletion of file works well using an unbindingEvent.
If you're going with servets then the content type you return can be the mpeg (or image or whatever) itself rather than doing the 'temp file' thing. If you head over to the Servlet/JSP forum there'll be more info. There are jave packages out there to create GIF and JPEG images as well Dave.
Joined: Nov 22, 2008
sorry you are right but i forget to say that the library i use to create the charts was only able to create a file. So i was oblige to do it like this. But i suppose there are other libraries that are doing the job better! ------------------ Benjamin l�onard www.evisor.com
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