-->
Quote:
Originally posted by hann
-->salamss
-->ade sesaper yg ade experience buat chart guna java & JSP...??
-->do email me kay...
--><% request="plzzzz help me... " %>
-->tQ guys
|
You need to use java.awt.* or javax.swing.* package to draw a chart, e.g drawing a chart on a java.awt.Canvas object , and then display this will your servlet, which your need to change the content type of the servlet output i.e
reponse.setContentType("image/gif");
if you would like to output it as a gif, to output as a gif you can use the GifEncoder.class from amce or to output as jpg or png you can use the Jpeg Encoder from sun or any other third party packager e.g this one
http://www.obrador.com/essentialjpeg/jpeg.htm
ketyung @ htttp://motionk.com