From: Nathaniel G. A. <nat...@ya...> - 2004-01-13 13:57:34
|
--- Anubhav Kale <anu...@pe...> wrote: > Hello... > > I checked PieChart2DServlet.java . > 1)Can you please elaborate on how to load this servlet from jsp (I do > not want to give any url etc.So basically I dont want to call the > servlet based on some event). HTTP is based on URL's so you have to use them. Simply have a HTML <img src="...someURL/execute/myChartServlet"/> > 2)By storing it in session do you mean the > > ServletEncoderHelper.encodeJPEG13 method? > > "call the servlet to load the chart as an image." Can you please explain how to do this exactly? > > Thanks a lot > > Anubhav > > > > > > > Ducret, Gilles (MSCI) wrote: > > >Check the examples, it works fine. > > > >Use the servlet to generate the chart and store it in the session. > > > >>From the jsp, call the servlet to load the chart as an image. > > > >It is described in the examples and works very well. > > > >Regards > > > >Gilles > > > >-----Original Message----- > >From: jch...@li... > >[mailto:jch...@li...] On Behalf Of Anubhav > >Kale > >Sent: Tuesday, January 13, 2004 11:41 AM > >To: jch...@li... > >Subject: [jCharts-users] How to load image into a jsp? > > > > > >Hello... > > > >I want to write a jsp. To this page some data will be passed,based on > >this data I want to draw a piechart. What code do I have to write in the > > > >jsp (to load the image,location of class that creates the image etc) > > > >Thanks > > > >Anubhav > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Perforce Software. > >Perforce is the Fast Software Configuration Management System offering > >advanced branching capabilities and atomic changes on 50+ platforms. > >Free Eval! http://www.perforce.com/perforce/loadprog.html > >_______________________________________________ > >jCharts-users mailing list > >jCh...@li... > >https://lists.sourceforge.net/lists/listinfo/jcharts-users > >-------------------------------------------------------- > > > >NOTICE: If received in error, please destroy and notify sender. Sender does not waive > confidentiality or privilege, and use is prohibited. > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Perforce Software. > >Perforce is the Fast Software Configuration Management System offering > >advanced branching capabilities and atomic changes on 50+ platforms. > >Free Eval! http://www.perforce.com/perforce/loadprog.html > >_______________________________________________ > >jCharts-users mailing list > >jCh...@li... > >https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |