I wonder if anyone could help me with a problem with JSPs in iframes.
I've got a Struts web app where one JSP contains an iframe whose source comes from some raw XML data, representing a report, processed into HTML with XSLT.
Currently everytime the page is accessed I write the processed XML to HTML files which are then used to provide the source for the iframe.
All well and good except that this leads to a build-up of HTML files on the server-side and I'm worried that there maybe concurrency issues when 2 or more users access the same report at the same time.
So ideally I'd like to use a JSP as the source for the iframe, so that when the XML is returned by the Struts action class the JSP can process the XML with XSLT and write it out with pageContext().getOut().
However when I've tried this I find that the actionForward object takes you to the iframe source JSP but the iframe itself is gone, so I can't scroll the content.
I apologise for the rather convoluted description, I'd be glad to hear any ideas you might have,