I am able to retrieve a PDF and display it in the browser, but the PDF takes up the entire page when it is returned. I would like to wrap it in a div or something, so that I can provide a back button to return the user to an action. Right now, the user has to click on the back button, which is inconsistent with the rest of my application. This all happens despite all of my attempts to wrap the PDF in a div, iframe, specifying the width, etc...
In the JSP
In the struts.xml, I am returning an InputStream
How can I get this PDF to show up in a div or iframe, so that I can specify the width and a button for the user to provide consistent navigation? I can display XML files in this way with no problems, but the PDF documents are not behaving the way I want them to.