[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    How to bringup pdf files on browser?
From:       "Sudesh Shetty" <sudesh () yashaa ! com>
Date:       2001-05-29 11:29:17
[Download RAW message or body]

I am using fop_0_18_0 for the conversion of xml to pdf file. Also I am =
using servlet to do the above operation. I am able to convert xml to fo =
and then from fo to pdf. But when i redirect the  URL to =
http://localhost:8080/test.pdf , Browser will show blank screen(both =
netscape and IE).
I have set the content type in servlet to "application/pdf". Also i have =
tried by giving "?" sign at the end of the URL but no luck!
If i reload the browser then i can view the pdf files.
Please let me know the reason behind this.
Your help will be appreciated
thanks in advance

Note : I am using Tomcat Server.

regards,
  Sudesh Shetty


emailid : sudesh@yashaa.com
URL    : http://www.yashaa.com

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am using fop_0_18_0 for the conversion of xml to 
pdf file. Also I am using servlet to do the above operation. I am able to 
convert xml to fo and then from fo to pdf. But when i redirect the&nbsp; URL to 
<A href="http://localhost:8080/test.pdf">http://localhost:8080/test.pdf</A> , 
Browser will show blank screen(both netscape and IE).<BR>I have set the content 
type in servlet to "application/pdf". Also i have tried by giving "?" sign at 
the end of the URL but no luck!<BR>If i reload the browser then i can view the 
pdf files.<BR>Please let me know the reason behind this.<BR>Your help will be 
appreciated<BR>thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Note :&nbsp;I am using Tomcat Server.</DIV>
<DIV><BR>regards,<BR>&nbsp; Sudesh Shetty</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>emailid : <A 
href="mailto:sudesh@yashaa.com">sudesh@yashaa.com</A><BR>URL&nbsp;&nbsp;&nbsp; : 
<A 
href="http://www.yashaa.com">http://www.yashaa.com</A></FONT></DIV></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic