Good day.
Attached please find a copy of a PDF that i have written via iText.
If the content fits on one page there is no problem but
if the contents extends on two pages i have difficulty in placing
a line at the bottom of the first page and the top of the second page.
How would i determine that i am on the second page and if so how would
i
go about placing the line so the statement looks neat.
Could you please assist me.
Thank you
Heetesh
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Lowagie
Sent: Tuesday, July 18, 2006 7:53 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] "Response already committed" error with
iText under Websphere.
Cat Atonic wrote:
> I'm using IText 1.3 to generate PDF reports on-the-fly in my
> Struts-based web application.
I don't have any experience with Struts on Websphere,
but when I see a 'response already committed' error,
I immediately think about the way JSP pages work:
they invoke response.getOutputStream behind the scene
and they sometimes start writing bytes to this outputstream
without you being aware of it.
Then when you perform response.getOutputStream(),
the server throws an error, because you can't open
this outputstream twice. I have done two projects in Struts
and I didn't like the technology. Certainly when you are
serving binary files, writing Servlets is always a better idea.
best regards,
Bruno
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Tester.pdf
Description: Tester.pdf
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
