Adriano Leite Ribero wrote: > I have the String that I mentioned, with the known structure > "%PDF-1.1....", I receive it in a servlet and I can properly print it > out to the browser
Let's add some extra (unnecessary) code to find out where it goes wrong. Afterwards, we can remove that code. You can properly send the PDF to a browser. OK, then you can also properly write the PDF to a PDF document on the server, read the PDF (FROM FILE!) from this location and serve the PDF with the watermark. Try this. Note that this is for testing purposes only. We're not going to do this in production (it's not very efficient). If this works, we'll continue from there. However, it would be more interesting if it doesn't work; because then we might have found the root of the problem. Why does it fail? Can you open the file you've written to the server in Adobe Reader? If not, what's inside that file? Depending on the result, I'll be able to decide what would be the next step; so keep us posted on the mailing list. br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/