From: Nathaniel G. A. <nat...@ya...> - 2002-11-25 13:46:07
|
if you are doing your reports in html i see no reason why you cant use two requests to the server; there is no way to return an image and text in the same request; even in your approach, there is a request to the servlet to generate stuff, then a request to get the image. You dont have to loop the image map coordinates in a jsp, you could do that in a servlet. Also, why not embed the chart code in your report page? even if you want to include a jsp which contains the chart and image-mep, you should be able to use the same jsp to create all your charts just like i did in that demo code. You could use the HttpSession to map the imagemap name to the imagemap --- Srini <sr...@le...> wrote: > Hello!! > > I did not really understand the overall organization of the code in your > clientside view demo. Hence I thought I can put all the code in one single > servlet. If you have any suggestion to put all the code in one servlet, I > appreciate. Is there anything like dump the chart first using content-type > text/jpg and then the imagemap. (How do associate usemap to the chart dumped > and so on.) Whatever the code I have is only a test code not to be used in > production. My application will be creating reports from DB2 and send the > same sql to chart servlet to create a chart. This has to be dynamic. Hence I > can not afford to create jsp for each chart. Any suggestions? > ===== 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 |