wmhfitz wrote:
> 1T3XT info wrote:
>> wmhfitz wrote:
>>> Does the garbage start with %PDF- ?
>> Yes
OK, in fact what you call "garbage" is actually a PDF file.
Only it's not rendered in a viewer.
That's a configuration problem on the end user's machine:
IE apparently doesn't know it has to start the Adobe Reader
plug-in when a PDF document is encountered.
Chapter 17 of "iText in Action" gives you a number of workarounds.
>>> FF3 the pdf is returned (Yay!).
>> Yes
A good sign that the problem isn't server related.
>>> Are you sure you don't have remains of Document in your code somewhere?
>> Yes there is:
>> public class FormPdfView extends AbstractPdfView {
>>
>> protected void buildPdfDocument(Map model, Document document, PdfWriter
>> writer, HttpServletRequest request, HttpServletResponse response) throws
>> ServletException, IOException {
If your requirement is to stamp an existing PDF document, you don't need
the Document class; redesign your app so that Document isn't used anymore.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php