I have looked through the API and am unable to find a method to obtain the PNG/JPEG/SVG url once the chart is generated? Any ideas?
Also how do I suppress the jsessioid from the URL I thought there was a method forceSessionID that I am not able to find anymore.
Thanks.
Grab/Access generated chart/image URL
-
- Posts: 6
- Joined: Tue Feb 14, 2006 10:56 pm
JFreeChart has no notion of a URL for the image--you configure that in your servlet configuration when you write a servlet that streams the image to the client. JFreeChart just produces the image and can write it as a PNG, etc, to an output stream, which you can get for the HttpServletResponse.
Did that help?
Did that help?
http://server/cewolf/cewolf;jsessionid= ... ehack=.png
cewolf stored the ChartImage in the session which can be accessed by using session attributes. How can I get the chart id? -2111368916 in this case
cewolf stored the ChartImage in the session which can be accessed by using session attributes. How can I get the chart id? -2111368916 in this case