given below is the code from my servlet class
pdfFilePath is the pdf file name (path)
responseContent =
FileUtil.contentsOfFileAsString(pdfFilePath);
response.setContentType("application/pdf");
response.getOutputStream().write(responseContent.getBytes());
-----Original Message-----
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 2:54 PM
To: [EMAIL PROTECTED]
Subject: Re: The newbie questions continue ...
That can be something wrong in code (show us what have you changed in
FopServlet) or just usual IE bug (see
http://marc.theaimsgroup.com/?l=fop-user&m=102084375612518&w=2).
Kumar, Sunil wrote:
> I was able to create a pdf file in a servlet using fop successfully
> but when i set content type to application/pdf and write the pdf content
to
> response object the pdf
> doesn't show up in the browser ( instead an empty page is shown)
>
> -----Original Message-----
> From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 18, 2002 1:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: The newbie questions continue ...
>
>
> [EMAIL PROTECTED] wrote:
>
>
>>I have created a "HelloWorld" xml file and a xsl file and attempted to use
>>FopServlet to display it in pdf. Unfortunately it only displays a blank
>
> pdf
>
>>page.
>
> Probably something wrong with servlet's parameters? Show us how do you
> invoke
> servlet. Make sure servlat is able to find your xml and xsl.
>
--
Oleg Tkachenko
Multiconn International Ltd, Israel