Hi ,
     Iam getting the exception 
java.lang.IllegalStateException: getOutputStream() has already been called
for this response
while writing the graph

String filename = WebChart.generateXYBarChart(dataSet, session, new
PrintWriter(resp.getWriter()));
String graphURL = req.getContextPath() + "/DisplayChart?filename=" +
filename;

The above code generates the url of the graph that needs to be displayed but
iam getting the exception while getting the writer object.

Thanks in advance...
Srikanth.D
-- 
View this message in context: 
http://www.nabble.com/Error-while-writing-the-image-tp19797561p19797561.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to