From: Nathaniel G. A. <nat...@ya...> - 2003-10-15 13:09:31
|
Can you create a SVG formatted chart outside of thte Servlet Container? --- Christian Cryder <chr...@gr...> wrote: > So I have taken the one example I have working (Pie Chart) and tried to > render it in SVG format. I took the SVG jars from jCharts-0.7.4\lib and > plunked them into Tomcat's shared/lib and now then changed my call from: > ServletEncoderHelper.encodePNG(chart, context.getResponse()); > to: > ServletEncoderHelper.encodeServlet(chart, context.getResponse()); > > Kabowie: > > error encoding chart:org.apache.batik.svggen.SVGGraphics2DIOException: > Connection reset by peer: socket write error > org.apache.batik.svggen.SVGGraphics2DIOException: Connection reset by peer: > socket write error > at org.apache.batik.svggen.XmlWriter.writeXml(Unknown Source) > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > at org.jCharts.encoders.SVGEncoder.encode(SVGEncoder.java:103) > at > org.jCharts.encoders.ServletEncoderHelper.encodeServlet(ServletEncoderHelper > .java:76) > > Anyone have any suggestions here? I am running on Win2k, j2sdk1.4.2_01, with > Tomcat 4.1. > > tia, > Christian > ---------------------------------------------- > Christian Cryder > Internet Architect, ATMReports.com > Project Chair, BarracudaMVC - http://barracudamvc.org > ---------------------------------------------- > "Coffee? I could quit anytime, just not today" > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |