Daniel Fagerstrom napisaƂ(a):
I should obviously think before writing ;) Anyway in the endDocument() method one could get the mime type from the servlet source *after* the above IOUtils.copy call, then continue to call the setContentType in the response object of the caller and after that call

IOUtils.copy(servletSource.getInputStream(), super.output);

This could work but it's hackiest hack I would say ;)

Daniel, do you really think it's the best solution? I fear that it's hacking nature will bite us in near future but it's just a gut feeling...

--
Grzegorz Kossakowski

Reply via email to