Yeah.. I thought of that, but I liked the idea of streaming without hitting disc.
On Mon, Jun 20, 2011 at 3:55 PM, Igor Vaynberg <[email protected]>wrote: > i dont think there is a way once you start streaming with an > attachment header... > > you can try rendering the page into memory and writing that out > instead - so then you at least know your page rendered ok. > > -igor > > On Mon, Jun 20, 2011 at 1:50 PM, Douglas Ferguson > <[email protected]> wrote: > > I built a page with markup type = xml and set the content type and > disposition so that the file will download. > > > > This is great except when there is a fatal exception thrown, my error > page is getting written to the downloaded file. > > > > Any ideas how make the browser load the error page? > > > > Only thought I had was to stream the file to disc and then send A) stream > to browser if there is no exception or B) forward to error page. > > But that kinda sucks as it is not truing streaming back to browser. > > > > D/ > > --------------------------------------------------------------------- > > 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] > >
