Hi, I am an iText newbie and I am trying to use Sean
Sullivan's solution of creating a temporary PDF for
the user to view without creating the file on the file
system.  Right now I am trying it two ways and neither
is working.  First, I have tried to modify his servlet
to accept a ByteArrayOutputStream which I send it via
the session but it keeps turning out to be null.  The
other try at this was to pass the
ByteArrayOutputStream over the session to a new jsp
page which then followed through with Sean's logic,
however it keeps producing the bytes and not the pdf
file.  The only modification I made to this code was
to comment out the content size of the response
because it kept saying that it was too long for some
reason (prolly because when i view source there are 4
carrage return above the start of the byte code but
when I added 5 to the ssize of then content size it
still didn't work).  I was just wondering if anyone
could help me figure out either or both of these
solutions.  Thank you.

PS - I have not upgraded to 1.00 yet but am planning
to once I figure this problem out

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to