Hi;

Thanks for the response. I fixed the problem. Had the OutputStream still
opened. I responded to my previous question myself with the new functioning
code.

I guess the forum (or my mail server) is slow.

My new issue is how to render the PDF with a string input containing the
contents of the FO file.

Luke

----- Original Message ----- 
From: "J.Pietschmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 05, 2005 6:01 PM
Subject: Re: Need Some Help


> Luke Shannon wrote:
> > When I run it in IE
> Ouch! :-)
>
> > it get a Pop up message telling me the "File does not
> > begin with '%PDF-'". This is weird to me because I am not trying to send
it
> > back through the response object, I don't know why the browser is even
> > looking at it.
>
> Does the URL which invokes the servlet end in .pdf? IEx is easily
> fooled, especially in absence of a content-type header.
>
> Try to use an URL which ends in .htm or .html, or explicitely set
> the content type to text/html, or both.
>
> J.Pietschmann
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to