From: Nathaniel G. A. <nat...@ya...> - 2003-05-26 15:20:54
|
did you look at the servlet examples? You can use the org.jCharts.encoders.ServletEncoderHelper which simply writes the chart to the ServletOutputStream; there are no files to write. --- Pal Perinbam <pal...@ya...> wrote: > I have a servlet that can be accessed by more than 100 clients at a time and this servlet is > responsible for creating an image from jCharts and generating a PDF file having the image. > So I don't want to save the image anywhere in the disk. > I tried with one option of getting Image object from Toolkit. > I just passed the byte[] into the createImage() method of the Toolkit class. > But there is a classical error where I never saw my JVM shutting down and I had to explicitly > shut down the JVM through System.exit(). > > Thank you. > Aravind > > > --------------------------------- > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. ===== http://nathaniel-auvil.blog-city.com/ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |