We are working on web app that allows JDBC selection of a database record from an HTML / JSP page. We want the output to be partial HTML with our existing menu structure AND an embedded PDF. The desire is to allow the richness of a PDF document merged with runtime as400 data. We have this working correctly in one instance by generating a FDF file which references the PDF and sends to browser however this is only the PDF output not the surrounding HMTL, etc. To solve this, we've attempted to create an IFRAME where the PDF / FDF would appear within our html page. Finally, the issue: Issue: The HTML IFRAME causes creation of a new Java (Tomcat) session. The IFRAME source does not have access to the previously queried database information. I know we could work around this by passing more parms with the IFRAME tag but that makes it kinda messy and may require another SQL to the database. Does anyone know a workaround? I.E. Is it possible to have a IFRAME share the same Java session on the server? Thanks, Paul Holm
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.