Hello,
I use Apache FOP to generate PDFs and PNGs from given xml content (content.xml) and xsl markup (markup.xsl).
If there is a long content.xml file it perfectly generates e.g. 3-page PDF and 3 different PNG files.
There is no problems if I store it on filesystem.
But if I want the PNG to be printed out directly in a
Servlet output stream it gives only the first file.
The getImageStream method is only makes transformation and returns the output stream which contains 3 PNG files:
Is there any way to force it to give all three PNG files?
I don't want to store temporary files on server, is there any way to do it just writing the Fop outputstream content into Servlet response output stream?
Thank you.