I have an action where I create graph(s), and I need to display them in the page. It is ArrayList<JFreeChart> that I need to show, but for the start I will try to display only one graph.
Action code goes like this: public class ChartDisplayAction () { ... execute() { HttpSession session = servletRequest.getSession(); JFreeChart mygraph = ...creating graph... BufferedImage myBuffered = mygraph.createBufferedImage(600, 400); session.setAttribute("myBuffered", myBuffered); } ... } .jsp page code: <img src="<%=session.getAttribute("myBuffered")%>" border=0 usemap="#imageMap"> Obviously, I am making the mistake here (most probably when I am trying to put myBuffered in session scope), but chart that I want to display is not in file, it is in a stream, and there must be a way to pass the stream to .jsp page. How do I do that? Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]