| Author |
GIF encoding in JSP
|
Dave Foley
Greenhorn
Joined: Feb 25, 2003
Posts: 9
|
|
I'm trying to create a GIF format graphic in the form of a pie chart. I have a number of questions (some of which I'm sure might be covered in other forums on this site). 1. Can I use JSP rather than a Servlet to make these GIFs. 2. Which GIF encoder should I use and where can I download it from. 3. Is there an easy way of creating pie charts in Java by just passing in arc values?
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50691
|
|
Why on earth would you want to do that via a JSP rather than a servlet? JSP's by nature are a text-centric templating mechanism, whereas servlets are geared to delivery of any content type. curious, bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
sampy jagan
Ranch Hand
Joined: Sep 17, 2002
Posts: 34
|
|
Why go for Gif parsing & etc when there are so many open source chart utilities, which apart from generating pie, bar & bla bla bla.. charts, have much more features like zooming, printing, saving & etc. Have a look at the article : http://www.javaworld.com/javaworld/jw-12-2002/jw-1227-opensourceprofile.html You can download one from http://www.object-refinery.com/jfreechart Regards jagan
|
 |
Dave Foley
Greenhorn
Joined: Feb 25, 2003
Posts: 9
|
|
Yes I know using a JSP over a Servlet is a bit strange but its because my project will be put on a college server where there was/is an issue over Servlets working. The JSPs work fine though so I would prefer to do the GIF drawing and encoding like that if its possible. Secondly I can't use any packages because its part of my project.
|
 |
 |
|
|
subject: GIF encoding in JSP
|
|
|