Quoting ������� ������� <[EMAIL PROTECTED]>:

> 
> Why using JSP for generating PDF files is a bad taste?

Because JSP isn't suitable to generate binary data.

> I need some tools to generate PDF on a fly and I use JSP (or servlets)

Use Servlets instead of JSP.
JSPs are compiled to Servlets anyway.
When you write the Servlet yourself, you can control
what happens with the character encoding, whitespace,...
( = things that make the JSP choke).

> But now I generate the PDF with data merging using XML templates and
> this method don't work.

I have a project that uses some XML templates.
For each type of XML I have a Handler-, Map- and Event-class.
The PDF is produced by a Servlet.

Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to