Robin Zhao wrote:

Hi,
after i modified souse code according you, browser show something, but that is not PDF.

If i change IE->View->Encoding->West Eurepean (ISO), then browser will show: %PDF-1.4 %âãÏÓ 4 0 obj <>stream xœí”Ë‚0E÷ýŠYêBmQØšèÞ¤?ÈËPÀÿ—([EMAIL PROTECTED]|l𒡆{ î…l8Ñ)¬M~ fÚJl;¸î4_‰O&lS~ÌgüF“

Aha, so it worked!


anyway, no PDF shown.

What makes you think this isn't PDF? ;-)
As Vineet indicated: you need

response.setContentType("application/pdf");

It's all in the tutorial.
br,
Bruno



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to