Don't use a jsp.

Paulo

----- Original Message ----- 
From: "Sri2295" <[EMAIL PROTECTED]>
To: <itext-questions@lists.sourceforge.net>
Sent: Friday, October 03, 2008 2:18 PM
Subject: [iText-questions] Error while writing the graph



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


-------------------------------------------------------------------------
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