Hi Bruno,
This errors occurs from the Servlet. It is trying to save the file
when I am using the following code:
ByteArrayOutputStream baos =
new ByteArrayOutputStream();
PdfWriter writer = PdfWriter.getInstance(doc,
baos);
I am not creating any output file in the code. What am I doing wrong
here? Can you please help?
thanks
regards,
Murali Thirumalai
Consulting Engagement Manager-Information Technology
Office of the Attorney General
609-341-5083
>>> Bruno Lowagie <[EMAIL PROTECTED]> 3/18/2006 4:56:56 AM >>>
Murali Thirumalai wrote:
>I am using a Servlet to generate a pdf file and display through
>ServletOutputStream. The code works on my local machine. But when I
>deployed it to the Deployment Server, I am getting the error '
Unknown
>File type'.
>
Where do you get this error. Is it triggered by your browser?
> Instead of displaying the pdf content on the browser, it is
>trying to save the file with the above error.
>
If you save the file and open it, what do you see?
PDF or some other content?
br,
Bruno
CONFIDENTIALITY NOTICE
The information contained in this communication from the
Office of the New Jersey Attorney General is privileged
and confidential and is intended for the sole use of the
persons or entities who are the addressees. If you are not
an intended recipient of this e-mail, the dissemination,
distribution, copying or use of the information it contains
is strictly prohibited. If you have received this communication
in error, please immediately contact the Office of the Attorney
General at (609) 292-4925 to arrange for the return of this information.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions