JSP returning PDF

2002-04-19 Thread Chris Faulkner
Hi I'm using FOP in a JSP to return dynamically created PDF documents to browsers. I'm using the usual method of embedding FOP as described on the web site. It works great. The main problem is that the PDFs take about 20 seconds to generate and then, since they are 500K or so, a while to down

Re: JSP returning PDF

2002-04-19 Thread Patrick Lanphier
All one really has to do is example in PHP function stall_browser($records,$file){ Header("Cache-Control: must-revalidate"); $minutes = floor(round(($records * .82)/60,2)); //Calulated at .77 $seconds = (round(($records * .82)/60,2)-$minutes) *60; $offset = 60 * 60 * 24 * 0; $ExpireStri