RE: FOP, JSP, TOMCAT, IE .. How to make it works!!! Please help!!
Original Message- From: David Gagnon [mailto:[EMAIL PROTECTED] Hi, Is there a way I can have the PDF displayed on the browser as it's generated on the server. I think this obstacle isn't presented by FOP/TOMCAT... Actually, if you look at what most browsers usually do with PDFs --even those that aren't generated on-the-fly--, it isn't likely to be possible. Download first, then use a plugin to display it. Maybe a way to work around this is to not generate one huge PDF, but a lot of small ones, linked by fo:basic-links. That way, only the documents pointed to by the links the user visits will be generated (and will have to be downloaded before the user can start reading). HTH! Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP, JSP, TOMCAT, IE .. How to make it works!!! Please help!!
David Gagnon wrote: -Is there a way I can have the PDF displayed on the browser as its generated on the server. You mean a sort of streaming? Well, PDF isn't a formate well suited for this (in contrast to HTML, sans tables without colspecs), because there is an object directory in the PDF and FOP writes it at the end of the stream, as well as embedded fonts and the likes. It should be possible to get the PDF renderer pop up immediately in a non-IEx browser, but I suspect it would only show a blank page until the whole content is generated and downloaded. With IEx at least up to the IEx 6/AcrobatReader 5 combo there is the problem that the PDF plugin wont start unless there is a content-length HTTP header, which can of course only be set after the whole PDF has been generated. Any help will be appreciated since I browsed all the web and I havent found something relevant. Asking in a PDF or Adobe-related formum might get you further insights. It is mainly a PDF problem. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : FOP, JSP, TOMCAT, IE .. How to make it works!!! Please help!!
You mean a sort of streaming? Well, PDF isn't a formate well suited for this (in contrast to HTML, sans tables without colspecs), because there is an object directory in the PDF and FOP writes it at the end of the stream, as well as embedded fonts and the likes. It should be possible to get the PDF renderer pop up immediately in a non-IEx browser, but I suspect it would only show a blank page until the whole content is generated and downloaded. That's what I got when I tried yesterday .. On Firefox the plug-in starts but nothing have been displayed until the end :-( That's a really bad limitation! Thanks for your help!! /David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]