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 <doug...@douglasferguson.us> 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: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org