From: Nathaniel G. A. <nat...@ya...> - 2004-01-05 14:14:09
|
I would assume the performance hit for writing to disk would be greater than executing a servlet. Struts does not allow redirection in the middle of a request as the request has already been committed. A http request has a single mime type associated with it; it can not be of html and png at the same time. --- damien guinan <gui...@ho...> wrote: > I did, the problem is that the jsp make two strips to servelts !! Is there a > way of saving the chart as an image to some temporary folder and reading it > back in afterwards ? Struts doesn't allow the redirection to take in the > middle of the example ! > > > ----- Original Message ----- > From: "Nathaniel G. Auvil" <nat...@ya...> > To: <jch...@li...> > Sent: Saturday, January 03, 2004 1:11 AM > Subject: Re: [jCharts-users] Jchart and struts > > > > > > Did you take a look at the source for the jsp and Servlet under the demo > folder? > > > > > > --- damien guinan <gui...@ho...> wrote: > > > I am having trouble integrating Struts and Jchart, i placed the > > > example,"HorizontalBarImageMapServlet" into a the ActionPerform method > in a struts action class, > > > but when i access the jsp that is calling the action it gives an error > in the jsp page with the > > > iterator: Iterator iterator = imageMap.getIterator(); The reason i > wanted to use this is because > > > i wanted to save the image and attributes in the session and read them > back out? Also could you > > > tell me the name of the image that gets saved in the session in this > example ? > > > > > > If you can get me an example i would really appreciate it :-) > > > > > > __________________________________ > > Do you Yahoo!? > > Find out what made the Top Yahoo! Searches of 2003 > > http://search.yahoo.com/top2003 > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 |