If you mean that you want to generate an image, any servlets/JSP book (mine included) will tell you how. Note that JSP is NOT designed to serve binary data like images, you will have to use a servlet - don't panic, it isn't hard. You could also go the SVG route (Scalable Vector Graphics) which a JSP could generate, but that may be harder to program. Bill
Hi Bill, Thank you for your response. I did not really mean to generate an image like a photo. I mean to display the data using coordinates (x, y), and use a curve to connect the points; or to display the data using a chart. Ideally, the display should be dynamic. Can we make it, Bill?
Author and all-around good cowpoke
Joined: Mar 22, 2000
That sure sounds like an application for an applet. You can use JSP to set up the page an applet lives in, but you would need a servlet for the applet to talk to and get current data. Bill
Joined: Nov 17, 2001
Thanks, Bill. Do you happen to have some code example about this?