From: Nathaniel G. A. <nat...@ya...> - 2002-11-25 17:41:23
|
did you look at the users guide? There is a whole section on how to create an image map for your charts. the demo uses three two Servlets and a jsp. One servlet creates the chart and calls the methods to encode for an image map. This stores the chart in the HttpSession so a generic Chart Servlet can later pull it out of the session and stream it back as a png. All chart types extend the Chart Object which is what the encode methods require so a single servlet can encode any chart type. the response from the first servlet sends the image map data back in the HttpServletRequest to the jsp. The jsp has an <img> element which calls the chart servlet to get the image from the session and stream it back. --- Srini <sr...@le...> wrote: > Assuming I have a servlet which creates a jpg file, How may servlets and jsp > file I have to write to make it work with imagemap. > > What are the functions of those servlets and jsp? > What modifications I have to make my servlet? > > Thanks in advance > > Since I am not able to figure about these things from your demo programs, I > am sending this email > ===== An easy read on your Digital Rights Disappearing [http://newsforge.com/newsforge/02/10/21/1449250.shtml?tid=19] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |