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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.